Sorry I dont quite understand!

I need to import these files and use the sendRedirect() method? I have tried
this and it does not recognise this method.

I am lost

A
----- Original Message -----
From: "Kevin Baynes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 10, 2001 5:57 PM
Subject: Re: Calling a servlet from another servlet


> You can use either:
>
> javax.servlet.RequestDispatcher.forward() or
> javax.servlet.http.HttpServletResponse.sendRedirect();
>
> -k
>
> > -----Original Message-----
> > From: A mailing list for discussion about Sun Microsystem's Java Servlet
> > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> > andrew tollin
> > Sent: Friday, August 10, 2001 12:36 PM
> > To: [EMAIL PROTECTED]
> > Subject: Calling a servlet from another servlet
> >
> >
> > Hello,
> >
> > Can someone tell me how to call a servlet from within another servlet.
> >
> > I am checking a users input in one servlet class, if the input is wrong
I
> > want to redirect him back to the servlet where he can re-enter
> > the value. If
> > the input is correct I want the program to continue within that servlet.
> >
> > A
> >
> > __________________________________________________________________
> > _________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include
> > in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to