----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Tim Stoop wrote:
>
yep:
public void doGet(post, whatever..)(HttpSerlvetRequest req,
HttpServletResponse resp)
throws ServletException, IOException
{
resp.sendRedirect("http//url.to.redirect.to/servlet/Servlet");
or
if you are coming from one servlet to another servlet in the same zone,
resp.sendRedirect("NameOfServlet?optionalparameters");
}
Well something like that...
Jesse
> always takes 1 second before people are at the page they want to be. Is
> there a way te directly redirect a user from the servlet to another (or a
> webpage)?? Can someone send me an example of how to do this?
>
> Thanks in advance
>
> Kind regards,
> Met vriendelijke groet,
> Tim Stoop
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]