Nothing....I'm not using servlets.
But if I was it would just read in the request and pass it to a
class/method.
Right now when I submit JSP forms, the form goes to a JSP that calls the
class/method and passes in the values from request.
So I guess if you have multiple developers, interface people,
programmers, etc....it would make sense to use servlets because then you
can keep most programming code out of the JSP.
Thanks!
-----Original Message-----
From: Manoj Kansal [mailto:manoj.kansal@(protected)]
Sent: Wednesday, August 27, 2003 11:55 AM
To: JSP-INTEREST@(protected)
Subject: Suspected Junk Mail: Re: Why use servlets?
Can you brief on what part is handled by your servlet. I too want to
clarify on
that.
Manoj
"Campano, Troy" wrote:
> I'm curious as to what the reason is to use Servlets.
> I write straight java class/methods and call them from my JSP.
> My business logic goes into these classes.
>
> JSP handles the interface and handles request/response.
> Usually I guess it's a Servlet that handles the request/response but
it
> seemed to me like an added extra step.
> I didn't really see what I was gaining by using a Servlet.
>
> So I'm curious of what the point of Servlets are....is there something
> they give you that JSP doesn't?
> So I know I'm missing something....why use Servlets?
>
> Thank you for your responses!
>
> ~ t r o y ~
>
> Troy Campano
> IAS Database Management
> Liberty Mutual
> (603) 245 4092
> troy.campano@(protected)
>
>
========================================================================
===
> To unsubscribe: mailto listserv@(protected)
JSP-INTEREST".
> For digest: mailto listserv@(protected)
DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
> http://java.sun.com/products/jsp
> http://archives.java.sun.com/jsp-interest.html
> http://forums.java.sun.com
> http://www.jspinsider.com
========================================================================
===
To unsubscribe: mailto listserv@(protected)
JSP-INTEREST".
For digest: mailto listserv@(protected)
DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto listserv@(protected)".
For digest: mailto listserv@(protected)".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com