One of the good reasons is that the servlet is faster then a JSP page.
If you get 1000's hits per hour to the same URL, you want it to be fast.
Another reason might be that with building servlets you're separating the
presentation layer from the processing layer.
Jf
Neal Cabage
<ncabage@ICONIXX. To: [EMAIL PROTECTED]
COM> cc:
Sent by: A Subject: Servlets v. JSP
mailing list
about Java Server
Pages
specification and
reference
<JSP-INTEREST@jav
a.sun.com>
12/29/00 06:59 PM
Please respond to
nealcabage
Anyone out there using servlets rather than JSPs? Why would a person build
a servlet rather than letting JSP just build one for you. My initial
thought is that a pure hand-written servlet might be more efficient if
there
is no actual output. Perhaps one might also consider it better style for
the same reason. This is just speculation however and JSP just seems
easier
and more time efficient...so would there be a good reason for hand-writing
your own servlets instead?
Thanks.
Neal
===========================================================================
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
===========================================================================
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