Hi sonal,
Well the following is attached for your benefit..i think it will help u,

take care,
vyom

Interview with Duane K. Fields, and Mark A. Kolb, on JSP

Q: How do you see JSP in relation to Java servlets? There seems
   to be a fair bit of overlap between the two. Are there some
   situations where JSP is preferable to servlets, and vice versa?

A: Mark - Well, JSPs ARE servlets really. JSP code gets parsed,
   turned into a Java source file, and compiled into a servlet
   class on the fly. However, it is useful architecturally to
   speak of them as separate beasts. I recommend using servlets
   for application control only, deferring all content generation
   to the JSPs. For example, to display a record from a database
   you should direct the request at a servlet which collects the
   data into a bean and forwards the request onto a JSP page for
   display. Coders can work on servlets, web developers can work
   on the JSPs
.---------------------------------------------------
Vyom Agrawal
Bhilwara Infotech Limited,
Bhilwara Towers,
A-12, Sector-1
NOIDA - 201301
NCR - Delhi (INDIA)
Ph. +91-118-4440293  (Direct)
      +91-118-4541810 Extn :472
Fax +91-118-4440294
mailto: [EMAIL PROTECTED]


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of sonal bhasin
Sent: Friday, October 20, 2000 12:00 AM
To: [EMAIL PROTECTED]
Subject:


what is the difference between servlet and JSP
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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

Reply via email to