The core technologies of Java Web applications include the following:
JSP: The basic means of input and output
JavaBean: Processing of completed functions
Servlet: Controlling the process of an application
JDBC: An indispensable technique for interacting with a database
Jstl and expression language el: Complete control and output of various information in JSP pages
Document structure for Web Apps
Bookstore is the root directory, jsp,html files and pictures of the Web application can be placed directly under the root directory, and classification, usermanagement,bookmanagement,ordermanagement, WEB application in the presence of a large number of images are generally placed in the images directory, some common files, such as navigation bar, copyright information, error pages, etc., placed in the common, Web-inf directory is very special, other subdirectories can not use this name, Files placed in this directory cannot be accessed by the browser and are primarily intended for use by the server. In the Web-inf directory, there are two subdirectories and one configuration file, Web. Two subdirectories are classes and LIB, which are used to store all web-related Java files. The latter is used to store a Java file in the form of a compressed package. jar. Web. XML is a must-have for every web app and a configuration file for it.
Java Web Learning (i)