As my understand.
You can define a class which will import HttpServlet
and its supporting packages and define methods with
Request and Response parameters and from your Servlet
you can instantiate this class and call the
appropriate methods with Request and Response objects
as input parameters.

Sagar.
--- "Ryan, Jeff J (Comm Lines, IT)"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a way to find an instance of an HttpServlet
> from within any Java
> Class?  I don't want to forward(), include() or
> sendRedirect(), but to
> actually get a handle on an instance of a servlet
> similar to what you can do
> with an EJB.
>
> Thanks, Jeff
>
> "Whatever is true, whatever is honorable, whatever
> is just, whatever is
> pure, whatever is gracious, whatever is lovely, if
> there is any excellence,
> if there is anything worthy of praise, think about
> these things"
>
> Jeff Ryan
> Hartford Financial Services
> [EMAIL PROTECTED]
> (860)547-4237
>
>
===========================================================================
> 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


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.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://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