On 11 Jun 2004 22:28:48 -0700, Matt <> wrote:
> I am new to JSP and Servlet. I know JSP container will convert JSP to
> servlet
> eventually. But in application development's standpoint, anything can be
> done in servlet can also be done in JSP? Some people told me we can
> use the combination of both in one application.
>
> My question is in what situation we use JSP alone, servlet alone, or
> combination of both??
>
> Please advise. Thanks!!
The usual response to this question is:
Use JSP where the complexity of the HTML is the most important
thing / or where non-programmer HTML authors have to maintain the
site.
Use servlets where computation is the most important thing or
where binary content such as images must be generated.
Many people happily use a mixture.
Bill
--
Using M2, Opera's revolutionary e-mail client:
http://www.opera.com/m2/
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---