This would do the trick:

HttpServletResponse res = new HttpServletResponse(); // this you've probably
allready got somewhere in the code
res.sendRedirect("relative or full url to redirect to");

Regards,

Christopher

> -----Original Message-----
> From: Georges Boutros [mailto:[EMAIL PROTECTED]]
> Sent: den 9 januari 2001 17:48
> To: '[EMAIL PROTECTED]'
> Subject: how to forward to a newpage in Java
> 
> 
> hello,
> 
> i just wanna know how to forward to a New Page in java and not jsp.
> 
> thanks
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to