Hi,
Advantage of servlet is that debugging is easy in servlet. In JSP you need
to run it in browser to debug it, but servlet can be complied and debugged
like any other java program. That is why for presentation JSP and for
business process and background works servlet is used
Bye
Biji Harees
Amsoft India Ltd
Bangalore
-----Original Message-----
From: Luca Ventura [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 2:45 PM
To: [EMAIL PROTECTED]
Subject: R: What are the advantages of the servlets and JSP pages?
I have a good book on jsp with me of Phil Hanna ("The complete guide") but
it doesn't explain in which circumstances I should use servlets
instead of JSP pages. It seems that JSP pages are the only solution for web
deveopments...if it so why can we find a lot of servlet implementations
around?
I mean...why I should write directly the servlet code if the JSP pages
offer
me all that I need and much more?
Maybe there are some advantages in writing servlets but I don't know what
they are, can you explain me please?
Thanks a lot!
Luca
-----Messaggio originale-----
Da: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]Per conto di Gupta, Naveen (CORP,
GEITC)
Inviato: giovedi 9 maggio 2002 11.17
A: [EMAIL PROTECTED]
Oggetto: Re: What are the advantages of the servlets and JSP pages?
u can see these in every book of servlets or jsp's first chapter. If u
still
don't get it then I will tell u .
-----Original Message-----
From: Luca Ventura [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: What are the advantages of the servlets and JSP pages?
Hello everybody!
I have a question:
Why should I use "servlets" in my web pages if all people say that
JSP-pages
are more simple to implement and save me a lot of lines of code?
So...which are exactly the advantages of "servlets" and those of the JSP
pages?
That is to say...When should I implement a servlet and when a jsp page?
Thanks a lot in advance!
Luca
===========================================================================
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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."
===========================================================================
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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com