复习样例:
1. Conside the following html code:
<a href= "http://www.njmars.net">Web Site</a>
When users click this link, which method will be evoked in the servlet?
A.doPost B.doGET C.doPOST D. doGet
2. To deploy a JSP application on a Web server, you can package all the files in the JSP application in a single file called:
A. Java Archive (JAR) file.
B. Web Application Archive (WAR) file.
C. manifest file.
D. class file.
3. Which of the following deployment descriptor snippets correctly associates a servlet implemented by a class named servlets.Controller with the name Controller?
A.
<servlet>
<servlet-name> Controller </servlet-name>
<servlet-url> servlets.Controller </servlet-url>
</servlet>
B.
<servlet>
<servlet-name> Controller </servlet-name>
<servlet-package> servlets.Controller </servlet-package>
</servlet>
C.
<servlet name=" Controller " class=" servlets.Controller ">
<servlet-class name=" Controller ">
servlets.Controller
</servlet-class>
</servlet>
D.
<servlet>
<servlet-name> Controller </servlet-name>
<servlet-class> servlets.Controller </servlet-class>
</servlet>
复习点:
the job roles for a large web application
the goals of Web application design
the features of Web container
the common types of dynamic Web pages technology
the difference of HTTP GET and POST Methods
four fundamentals types of views
the function of Session objects
WAR file
custom tag
struts
basic methods of tranferring between jsp and servlet
output formatted characters in JSP
login count (persisted cookies, session)
custom tag(class, tld file, using tags in jsp)
login with some condition
vote
browse tables in SQL server 2000 with grid
access storage procedure of SQL Server 2000