Home Database Mysql Tutorial JSP/JAVABEAN+TOMCAT4.0.5+MYSQL组合建站总结_MySQL

JSP/JAVABEAN+TOMCAT4.0.5+MYSQL组合建站总结_MySQL

Jun 01, 2016 pm 02:09 PM
delete Commonly used Build a website Summarize article show Table of contents combination Configuration question

Tomcat

系统配置:win2000英文版+JDK1.4.1+TOMCAT4.0.5+APACHE2.043
开发周期:竭尽全力,前后历时近15天。
实现功能:
1.    画廊:
图片及相关文字的提交,分页显示,删除。
2.    相册:
相册主题的新建,相片及相关文字的提交,分主题,分页显示,删除。
3.    文章/新闻发布系统:
文章分类目录的新建,文章的分类显示,文章的编辑,删除。(具有10个插图上传能力)
4.    文章按主题搜索及模糊查找。
5.    将硬盘一指定目录以列表的形式显示出来,自动查找目录中的说明文件,并解析其结构,当访问到含有说明文件的目录时,将解析结果一并显示出来。
6.    LEO论坛(CGI)运行环境的配置。

涉及知识点:

1.    MYSQL数据库的连接BEAN。
2.    分页BEAN。
3.    数据库的查询,添加,修改,删除的操作。
4.    字符串的过滤,替换。
5.    文本文件内容的解析。
6.    TOMCAT的配置。
7.    APACHE的配置。

涉及类及常用方法:
String
    Replace();replaceAll();indexOf();lastIndexOf();substring();
StringBuffer
    Append();
StringReader
Reader
ResultSet
    getString();getInt();getDate();
StreamTokenizer
    resetSyntax();ordinaryChar();wordChars();
File
FileReader
LineNumberReader
    readLine();getLineNumber();
Connection
Statement
JspSmartUpload
制作心得:
1.    JAVA DOC的使用
英文要学呀,不要想着有个中文文档给你看,这样你总是跟在大多数人后面跑。

2.    网上论坛及搜索引擎的使用
初学者老是喜欢问,建议看去网上搜索一番再说,绝大部分问题都可以在网上找到答案,因为别人也曾经问过类似问题。

3.    常用类的熟练掌握
如果想真正入行,必须对一些常用类熟练掌握,不要到面试时,为了一个常用方法而要求查JAVA DOC,导致工作机会的错失。一年前,我有过这样的经历。

4.    一些网站常见功能的制作思路的思考
如文章系统怎样实现图文混排的思考等。可以多看看一些大型网站的制作思路。

5.    SUN网站的教程及实例
这里有好多好的教程,包括JAVA类库中类的部分方法的使用例子。

困难遭遇:
1.    中文问题
如果没有在英文版操作系统上的开发,并不会将此当成一件大事,到现在,有些问题也没有找到很好的解决办法。如,在控制面版下的服务里启动的TOMCAT跟运行后生成一个DOS窗口,两种启动方式对中文的支持也不一样。

2.    网站的坏图问题

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1665
14
PHP Tutorial
1269
29
C# Tutorial
1249
24
How to delete Xiaohongshu notes How to delete Xiaohongshu notes Mar 21, 2024 pm 08:12 PM

How to delete Xiaohongshu notes? Notes can be edited in the Xiaohongshu APP. Most users don’t know how to delete Xiaohongshu notes. Next, the editor brings users pictures and texts on how to delete Xiaohongshu notes. Tutorial, interested users come and take a look! Xiaohongshu usage tutorial How to delete Xiaohongshu notes 1. First open the Xiaohongshu APP and enter the main page, select [Me] in the lower right corner to enter the special area; 2. Then in the My area, click on the note page shown in the picture below , select the note you want to delete; 3. Enter the note page, click [three dots] in the upper right corner; 4. Finally, the function bar will expand at the bottom, click [Delete] to complete.

Is it true that you can be blocked and deleted on WeChat and permanently unable to be added? Is it true that you can be blocked and deleted on WeChat and permanently unable to be added? Apr 08, 2024 am 11:41 AM

1. First of all, it is false to block and delete someone permanently and not add them permanently. If you want to add the other party after you have blocked them and deleted them, you only need the other party's consent. 2. If a user blocks someone, the other party will not be able to send messages to the user, view the user's circle of friends, or make calls with the user. 3. Blocking does not mean deleting the other party from the user's WeChat contact list. 4. If the user deletes the other party from the user's WeChat contact list after blocking them, there is no way to recover after deletion. 5. If the user wants to add the other party as a friend again, the other party needs to agree and add the user again.

How can I retrieve someone else's deleted comment on Xiaohongshu? Will it be displayed if someone else's comment is deleted? How can I retrieve someone else's deleted comment on Xiaohongshu? Will it be displayed if someone else's comment is deleted? Mar 21, 2024 pm 10:46 PM

Xiaohongshu is a popular social e-commerce platform, and interactive comments between users are an indispensable method of communication on the platform. Occasionally, we may find that our comments have been deleted by others, which can be confusing. 1. How can I retrieve someone else’s deleted comments on Xiaohongshu? When you find that your comments have been deleted, you can first try to directly search for relevant posts or products on the platform to see if you can still find the comment. If the comment is still displayed after being deleted, it may have been deleted by the original post owner. At this time, you can try to contact the original post owner to ask the reason for deleting the comment and request to restore the comment. If a comment has been completely deleted and cannot be found on the original post, the chances of it being reinstated on the platform are relatively slim. You can try other ways

How to delete Xiaohongshu releases? How to recover after deletion? How to delete Xiaohongshu releases? How to recover after deletion? Mar 21, 2024 pm 05:10 PM

As a popular social e-commerce platform, Xiaohongshu has attracted a large number of users to share their daily life and shopping experiences. Sometimes we may inadvertently publish some inappropriate content, which needs to be deleted in time to better maintain our personal image or comply with platform regulations. 1. How to delete Xiaohongshu releases? 1. Log in to your Xiaohongshu account and enter your personal homepage. 2. At the bottom of the personal homepage, find the "My Creations" option and click to enter. 3. On the "My Creations" page, you can see all published content, including notes, videos, etc. 4. Find the content that needs to be deleted and click the "..." button on the right. 5. In the pop-up menu, select the "Delete" option. 6. After confirming the deletion, the content will disappear from your personal homepage and public page.

How to completely delete TikTok chat history How to completely delete TikTok chat history May 07, 2024 am 11:14 AM

1. Open the Douyin app, click [Message] at the bottom of the interface, and click the chat conversation entry that needs to be deleted. 2. Long press any chat record, click [Multiple Select], and check the chat records you want to delete. 3. Click the [Delete] button in the lower right corner and select [Confirm deletion] in the pop-up window to permanently delete these records.

How to completely delete WeChat File Transfer Assistant_Introduction to how to close WeChat File Transfer Assistant How to completely delete WeChat File Transfer Assistant_Introduction to how to close WeChat File Transfer Assistant Mar 20, 2024 pm 08:31 PM

WeChat's file transfer assistant is available to every user. Some users use it as a memo to record some things. So how to completely delete WeChat File Transfer Assistant? Let me introduce it to you in detail below. How to completely delete WeChat File Transfer Assistant? Answer: [WeChat]-[Long press File Transfer Assistant]-[Delete this chat]. Specific steps: 1. First open the WeChat software. After entering the home page, we find [File Transfer Assistant] and press and hold; 2. Then a pop-up will be marked as unread, pin the chat to the top, do not display the chat, and delete the chat. Here We can click [Delete this chat];

How to publish Xiaohongshu content? How to delete content posted on Xiaohongshu? How to publish Xiaohongshu content? How to delete content posted on Xiaohongshu? Mar 21, 2024 pm 04:10 PM

With the continuous development of social media, Xiaohongshu has become an important platform for young people to share their lives, discover trends, and obtain inspiration. In this vibrant community, how to publish high-quality content and attract more attention and likes has become a concern for many users. 1. How to publish Xiaohongshu content? Before creating, it is crucial to choose a suitable topic. You can pick an engaging topic based on your interests and expertise. Doing so will not only keep you passionate about the writing process, but it will also make it easier for readers to relate to your work. 2. Carefully design the title: The title is the key to attracting readers to click. It should be concise and clear, and at the same time, it should be attractive and engaging. Avoid using exaggerated wording that may cause the reader to react

PHP Practical Tip: Remove the last semicolon in your code PHP Practical Tip: Remove the last semicolon in your code Mar 27, 2024 pm 02:24 PM

Practical PHP Tips: Delete the Last Semicolon in the Code When writing PHP code, you often encounter situations where you need to delete the last semicolon in the code. This may be because copy-pasting introduces extra semicolons, or to optimize code style and structure. In this article, we will introduce some methods to remove the last semicolon in PHP code and provide specific code examples. Method 1: Use the substr function The substr function can return a substring of a specified length from a string. we can

See all articles