Chapter 1 JSP / Server Technology Development news release system in the first chapter of dynamic web development foundation

 

A: Why do we need a dynamic website

   Since the contents of a static page is fixed and can not provide personalized service and customized too, use dynamic pages can truly interact with the user.

Two: What is the dynamic pages

 ①: Dynamic pages refers to running on the server side, using the programming language designed for interactive web pages, they will return to a different Web page content based on changes in certain conditions.

 ② need to use dynamic web server scripting language.

Three : dynamic web of advantages:

①         interaction : i.e. page will dynamically changing and selecting and displaying contents according to user requirements.

②         automatic update: that no code is required to change the page, it will automatically generate a new page content, can greatly reduce the workload.

③         randomness: that is, when a different time, different people have different URLs to access the same results page

Four : Dynamic pages are static pages alternatives do ?

  A : ①: static and dynamic web pages have their own characteristics, site use dynamic pages or static pages long depending on how many features of the site requirements and content.

②: If the website is simple, content with the new amount is not large, pure static pages simple way would, on the contrary are generally used with web technologies.

③: static pages is the foundation of the site, no contradiction between static and dynamic web pages, in order to adapt to the search engine site search needs, using real-time dynamic web technology, web content can also be converted into a static release.

Five: B / S architecture is C / S alternatives architecture do?

   : B / S when the schema with interner rise art of C / S of changing architecture instead of C / S alternatives.

B / S architecture compared to C / S Advantage Architecture

 ②: simple maintenance and upgrade, C / S for each client architecture must install and configure the client software, if you need to change the system upgrade maintenance of each client, in the B / S architecture software applications business logic on the server side is fully realized, all client only browser, does not require any maintenance, so the system maintenance staff only need to pay attention to the server software upgrades, as long as the client log back into the system, is already used the latest version of the software .

B / S architecture with respect to C / S disadvantage architecture

: B / S interface is not C / S and friendly, it is difficult to make oofice such a rich interface software, you need to spend a huge cost on the cost of the design speed and security, while those due to the B / S architecture of an interactive response request mode, once the data is changed, it is necessary to refresh the page to see the updated data.

③: C / S General for a fixed user base, usually highly confidential information system using C / S architecture, more suitable for internal enterprise information management systems, financial securities, etc., B / S is suitable for public release of information, to lower confidentiality requirements of information, such as corporate Web site, later service systems, logistics information systems.

Six: What is the URL ... ..

URL is (uniformResourceLocator ) acronym, meaning that a Uniform Resource Locator, is a complete description interner way to identify method addresses other resources on the web, in short URL is often said that the web site ( such as www.baidu.com)

Seven: URL composite structures:

( 1 ) Agreement

( 2 ) server domain name or IP

( 3 ) Port Number

( 4 ) path: contains two meanings

Eight: URL components

(1)         protocol ( or called service mode )

(2)         host IP address (may contain a port number)

(3)         path, such as directory and file name, etc.

With the first portion and the "second portion between // spaced" symbol, a second portion and a third portion with a "/" symbol spaced apart first and second portions can not be omitted, the third portion may be omitted.

 Nine: Tomcat installed version of the start and stop

(1)   to start or stop the server implementation through, through the implementation of the "Control Panel " ------ > "Administrative Tools " ------ > "service" command, then right-click "ApacheTomcat7.0" icon can

(2)   by Tomcat menu MonitorTomact start and stop, by executing the "All Programs" tool  ----- > "Tomcat7.0 the Apache" -  ----- > "MonitarTomcat" - à

"General" command "Select" "Start" and " STOP " operation

Ten: the Tomcat ' configuration port number

(1)         In the Tomcat find its subdirectories under the directory structure of conf.

(2)         in the conf Open Directory server.Xml file.

(3)         in the open file, locate ( Connector ) node, and then modify the port number .

(4)         to save the settings.

Eleven: JSP execution process

(1)   translation phase

(2)   compile phase.

(3)   the implementation phase

Twelve : JSP page composition

  Consists of static content, instruction, expression, small script, statements, comments, etc. standard action elements.

A: Why do we need a dynamic website

   Since the contents of a static page is fixed and can not provide personalized service and customized too, use dynamic pages can truly interact with the user.

Two: What is the dynamic pages

 ①: Dynamic pages refers to running on the server side, using the programming language designed for interactive web pages, they will return to a different Web page content based on changes in certain conditions.

 ② need to use dynamic web server scripting language.

Three : dynamic web of advantages:

①         interaction : i.e. page will dynamically changing and selecting and displaying contents according to user requirements.

②         automatic update: that no code is required to change the page, it will automatically generate a new page content, can greatly reduce the workload.

③         randomness: that is, when a different time, different people have different URLs to access the same results page

Four : Dynamic pages are static pages alternatives do ?

  A : ①: static and dynamic web pages have their own characteristics, site use dynamic pages or static pages long depending on how many features of the site requirements and content.

②: If the website is simple, content with the new amount is not large, pure static pages simple way would, on the contrary are generally used with web technologies.

③: static pages is the foundation of the site, no contradiction between static and dynamic web pages, in order to adapt to the search engine site search needs, using real-time dynamic web technology, web content can also be converted into a static release.

Five: B / S architecture is C / S alternatives architecture do?

   : B / S when the schema with interner rise art of C / S of changing architecture instead of C / S alternatives.

B / S architecture compared to C / S Advantage Architecture

 ②: simple maintenance and upgrade, C / S for each client architecture must install and configure the client software, if you need to change the system upgrade maintenance of each client, in the B / S architecture software applications business logic on the server side is fully realized, all client only browser, does not require any maintenance, so the system maintenance staff only need to pay attention to the server software upgrades, as long as the client log back into the system, is already used the latest version of the software .

B / S architecture with respect to C / S disadvantage architecture

: B / S interface is not C / S and friendly, it is difficult to make oofice such a rich interface software, you need to spend a huge cost on the cost of the design speed and security, while those due to the B / S architecture of an interactive response request mode, once the data is changed, it is necessary to refresh the page to see the updated data.

③: C / S General for a fixed user base, usually highly confidential information system using C / S architecture, more suitable for internal enterprise information management systems, financial securities, etc., B / S is suitable for public release of information, to lower confidentiality requirements of information, such as corporate Web site, later service systems, logistics information systems.

Six: What is the URL ... ..

URL is (uniformResourceLocator ) acronym, meaning that a Uniform Resource Locator, is a complete description interner way to identify method addresses other resources on the web, in short URL is often said that the web site ( such as www.baidu.com)

Seven: URL composite structures:

( 1 ) Agreement

( 2 ) server domain name or IP

( 3 ) Port Number

( 4 ) path: contains two meanings

Eight: URL components

(1)         protocol ( or called service mode )

(2)         host IP address (may contain a port number)

(3)         path, such as directory and file name, etc.

With the first portion and the "second portion between // spaced" symbol, a second portion and a third portion with a "/" symbol spaced apart first and second portions can not be omitted, the third portion may be omitted.

 Nine: Tomcat installed version of the start and stop

(1)   to start or stop the server implementation through, through the implementation of the "Control Panel " ------ > "Administrative Tools " ------ > "service" command, then right-click "ApacheTomcat7.0" icon can

(2)   by Tomcat menu MonitorTomact start and stop, by executing the "All Programs" tool  ----- > "Tomcat7.0 the Apache" -  ----- > "MonitarTomcat" - à

"General" command "Select" "Start" and " STOP " operation

Ten: the Tomcat ' configuration port number

(1)         In the Tomcat find its subdirectories under the directory structure of conf.

(2)         in the conf Open Directory server.Xml file.

(3)         in the open file, locate ( Connector ) node, and then modify the port number .

(4)         to save the settings.

Eleven: JSP execution process

(1)   translation phase

(2)   compile phase.

(3)   the implementation phase

Twelve : JSP page composition

  Consists of static content, instruction, expression, small script, statements, comments, etc. standard action elements.

Guess you like

Origin www.cnblogs.com/ws1149939228/p/11103225.html