Summary and _jsp programming of Jsp/javabean+tomcat4.0.5+mysql combined construction station

Source: Internet
Author: User
System configuration: Win2000 English version +jdk1.4.1+tomcat4.0.5+apache2.043
Development cycle: Make every effort, and lasted nearly 15 days.
Implementation features:
1. Gallery:
Pictures and related text submission, pagination display, delete.
2. Album:
Album Theme of the new, photos and related text submission, sub-theme, pagination display, delete.
3. Article/press release system:
Article Classification directory of new, the article classification display, the article edit, delete. (with 10 illustrations upload ability)
4. The article is searched by subject and Fuzzy lookup.
5. Displays the hard disk directory as a list, automatically finds the description file in the directory, resolves its structure, and displays the results of the resolution when it accesses the directory containing the description file.
6. The configuration of the Leo Forum (CGI) runtime environment.

Knowledge points involved:
1. The connection bean for the MySQL database.
2. Paging Bean.
3. database query, add, modify, delete the operation.
4. The string is filtered, replaced.
5. Parsing of the contents of a text file.
6. The configuration of Tomcat.
7. The configuration of Apache.

Related 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
To learn English, do not want to have a Chinese document to show you, so you always follow most people running behind.

2. Online forums and the use of search engines
Beginners always like to ask, suggest looking at the Internet search some more, most of the questions can be found online answers, because others have asked similar questions.

3. Master of Common class
If you want to really go, must be familiar with a number of common types of proficiency, not to interview, in order to a common method and asked to check Java DOC, resulting in job opportunities missed. A year ago, I had this experience.

4. Thoughts on the production of common functions of some websites
such as the article system how to achieve the image and text mixed row of thinking. Can look at some of the large-scale web site production ideas.

5. The Sun website Tutorials and examples
There are a lot of good tutorials here, including examples of how some of the classes in Java class libraries are used.

Difficulties encountered:
1. Chinese questions
If not in the English version of the operating system development, and will not consider this as a major event, until now, some problems have not found a good solution. For example, in a service under the control surface version of the launch of Tomcat and run after a DOS window, the two startup methods for Chinese support is also different.

2. Bad map problem for website
I do not know whether the problem of the network server or tomcat problem, there will be bad diagram phenomenon.


At last:
Celebrate their first use of Jsp/javabean technology development Dynamic website, after a hard, finally see return! In the past two years, frequented Dev-club (chinaasp), and chinajavaworld,javaunion, benefited not shallow. Thanks here!

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.