JSP/JAVABEAN + TOMCAT4.0.5 + MYSQL combined site creation Summary

Source: Internet
Author: User

System Configuration: win2000 English version + JDK1.4.1 + TOMCAT4.0.5 + APACHE2.043
Development cycle: the development cycle lasts for nearly 15 days.
Functions:
1. Gallery:
Submit, display, and delete images and related text by page.
2. album:
Album topic creation, submission of photos and related texts, topic separation, pagination, and deletion.
3. Article/news publishing system:
New Document category directory, document category display, article editing, and deletion. (Capable of uploading 10 illustrations)
4. Search articles by topic and fuzzy search.
5. displays the specified directory on the hard disk as a list, automatically searches for the description file in the directory, and parses its structure. When you access a directory containing the description file, display the resolution results together.
6. Configure the operating environment of the LEO Forum (CGI.

Knowledge points:
1. MYSQL database connection BEAN.
2. pagination BEAN.
3. database query, add, modify, and delete operations.
4. Filter and replace strings.
5. parse text file content.
6. TOMCAT configuration.
7. APACHE configuration.

Involved classes and common methods:
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
Production Experience:
1. Use of JAVA DOC
If you want to learn English, do not think of a Chinese document for you. In this way, you are always following most people.

2. Use of online forums and search engines
Beginners are always fond of asking questions. I suggest you search for them online. You can find answers to most questions on the Internet, because they have asked similar questions.

3. Skills in common classes
If you really want to enter the line, you must be familiar with some common classes, do not go to the interview, for a common method and require to check java doc, leading to missed job opportunities. I had this experience a year ago.

4. Thoughts on creating common Website Functions
For example, how the article system implements image-text mixing. Let's take a look at the ideas for creating large websites.

5. SUN website tutorials and Examples
There are many good tutorials, including examples of using some methods of classes in JAVA class libraries.

Difficulties:
1. Chinese problems
If development is not performed on the English version of the operating system, it will not become a major event. Up to now, some problems have not been solved. For example, a DOS window is generated between TOMCAT started in the service under the control panel and after running. The two startup modes have different support for Chinese characters.

2. Bad website image problems
I do not know whether it is a problem with the network server or a problem with TOMCAT. There may be bad diagrams.


Finally:
Celebrate your first time using JSP/JAVABEAN technology to develop dynamic websites! For nearly two years, often patronize DEV-CLUB (CHINAASP), and CHINAJAVAWORLD, JAVAUNION, benefit from non-profit. Thank you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.