以文本方式查看主题

-  课外天地 李树青  (http://www.njcie.com/bbs/index.asp)
--  JavaEE网站开发课件  (http://www.njcie.com/bbs/list.asp?boardid=20)
----  09级课程复习纲要  (http://www.njcie.com/bbs/dispbbs.asp?boardid=20&id=963)

--  作者:admin
--  发布时间:2010/12/23 21:28:59
--  09级课程复习纲要

一、单选题(共10小题,每题3分,共计30分)
二、简答题(共4小题,每题5分,共计20分)
三、分析题(共3小题,每题10分,共计30分)
四、编程题(共2小题,每题10分,共计20分)

 

复习样例:
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

 

[此贴子已经被作者于2011-12-13 09:09:57编辑过]