文档介绍:×÷Õߣºjspfuns
ÈÕÆÚ£º2000-8-10 17:54:16
27) How are servlets and JSP pages related? TOC
JSP pages are focused around HTML (or XML) with Java codes and JSP tags inside them. When a web server that has JSP support is asked for a JSP page, it checks to see if it has piled the page into a servlet. Thus, JSP pages e servlets and are transformed into pure Java and piled, loaded into the server and executed. Different JSP implementations do this in more or less efficient ways.
28) Any good web sites for up to date activities in the Java/JSP/Servlet world? TOC
The following web sites contain information about JSP:
An IBM Tutorial on JSP: /developer/education/java/online-
An IBM Red Book : /abstracts/
Other IBM Information: /webservers/appserv/doc/v20dcadv/doc/
JSP-Resource Information - / is prehensive on sites and articles.
JSP Tags is a site for Taglibs - /
The following web sites focus on JSP solutions
Servlets Taverne - /
Oi Servlet World -
Web Development with JSP - /
29) How do I force a user to log in? TOC
From: Andre Richards <******@>
I did as follows:
On every page which must be authenticated, I check for a user ID in the session object - if it doesn't exit, I do a redirect to a login page, passing the url the user was trying to access as a parameter.
On the login page, if the user essfu