JavaWeb study notes (a) Web basic concept

First, the basic concept

1, Web development knowledge

Static Web: means any time to access content are consistent Web interface
dynamic Web: refers to access content changes over time Web interface (generally relates to interact with the database)
static web technologies: html / css
dynamic web technologies: JSP / Servlet, ASP, PHP and other
Java, all dynamic Web resource development technologies collectively referred to as JavaWeb

2, Web applications

A Web application contains multiple static and dynamic web resources, web resources, including, for example: java program, JSP files, html files, cs files, js files, support jar package and configuration files.
After the web application development is complete, if you want to access the outside world, it is imperative to the web directory where the web application server management (this process is called mapping virtual directory)
eg.web application named test, the following have a index.jsp file, which is actually present in F: \ workspace \ test \ index.jsp , but when access to the outside world in the browser address bar link to write http: // localhost: 8080 / test / index.jsp to access, that is, F: \ workspace \ test this actually stored web application directory mapping to test the virtual directory, visit /test/index.jsp equivalent access F: \ workspace \ test \ index.jsp up

3, dynamic web access

Dynamic web client initiated by browser http requests, the server receives the request to determine whether the request via the web server plug-in is static or dynamic;
if it is a static resource, the request will be forwarded directly to the web server, followed by the web server from a file system was taken out, returned to the client resolved;
if dynamic resource, the first request will be transferred to the web container, container connected web database, retrieve data from the database a dynamic page patchwork display, and then to the server, and then by the web server the content is sent back to the client to resolve.

4, common web server

Apache, Nginx, IIS, WebLogic, WebSphere, Tomcat
between a parallel relationship, but some partial front end server, and good concurrent connections, etc., some server rear partial explanation, can be used depending on the characteristics may be combined.

5, Tomcat directory hierarchy

General log folder there to "catalina.yyyy-MM-dd.log" file is the log file server running the day

Guess you like

Origin www.cnblogs.com/persist0701/p/11410032.html
Recommended