b/S structure
(Browser/server, browser / server mode), is web a network structure pattern after the rise of the Web browser is client the main application software . This pattern unifies the client , which concentrates the core part of the system functionality implementation into server , simplifies the development, maintenance and use of the system. On the client computer, just install a browser (Browser), such as netscape Navigator or server installation oracle , sybase , informix or sql Server . browser interacts with the database through Web Server.
Contains three main elements
1. Browser:
A parsing of HTML, JS code
B Sending HTTP packets to the server
2. Communication protocol
such as: http, HTTPS
3. Server
A provides a static page in response to the client
b encapsulates a packet submitted by the browser into a request object delivered to a helper application (servlet, struts.action) to handle user requests
C encapsulates the data results processed by the auxiliary application into response object feedback to the client
This link is a b/s building under Tomcat and eclipse environments.
Http://jingyan.baidu.com/article/ab69b270ccc4792ca7189fd6.html