Neeraj Vora wrote:
>
> Please pardon me if this is down a beaten-down track, but I really fail to
> understand the point of using servlets with JSP. JSP is one level higher
> than servlets and why not just embed beans in JSP to do the kind of
> pre-processing that servlets are said to be used for in this forum. Based on
> the results from these beans, re-direction can take place to another JSP
> page in case of error, special condition etc.
>
> The only problems I find with current JSP (1.0) are as follows. I can't
> figure out a good and portable way to avoid the overhead of JSP page
> compilation and the overhead of instantiating application beans along with
> database connections upon the first request.
>
> Second, more ISPs support servlets than they do the JSPs, naturally. I can't
> figure out an easy way to develop a web application using JSPs (say JSWDK
> 1.0) and then auto-magically convert the jsp pages into servlets deployable
> on the ISPs supporting servlets.

Precompilation and putting all pieces of a precompiled app in an easy to
deploy package is covered in JSP 1.1/Servlet 2.2. Checkout the specs at
http://java.sun.com

--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to