> As others on this list would agree that the best way to use
> JSP's is in
> conjunction with Servlets and Java Beans, in short "The MVC
> Architecture
> Model".
> In the above mentioned model JSP's are used for display
> purposes and the
> logic is placed in Beans whereas the Servlet acts as a
> Controller. In case
> you need more information on MVC check out any good JSP Book
> and even the
> archives of this list is a wonderful resource.
You are right about that. But lot of people using directly JSP.
My company using MVC.
But if you are familiar with BEA WebLogic Servlet 2.2 implementation, for
security reason all objects, including servlets must be hidden
from application.
To use servlets you must map it in web.xml.
Maybe I don't understand correctly specification, but I don't find nothing
in specification that will put something like that as mandatory.
With Tomcat 3.2.2 (Servlet 2.2 and JSP 1.1) and IBM WebSpehere 3.5 and 4.0
that is not the case. You can access to any servlet directly without any
mapping.
--Srdjan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets