Use response.sendRedirect("UR specified servlet file path");
Have a nice time
with regards
Yogaraj
*********** REPLY SEPARATOR ***********
On 2/5/01 at 11:45 AM Jitin Narula wrote:
>hi all,
>how do i redirect from a servlet to another servlet depending on the results
>from the database.
>actually i am making an user authentication form in servlest using oracle
>db. which would contain a privilage coloumn in it ,depending on the
>privilage coloumn result i have to redirect the user to another servlet.
>
>____________________________________________
>Jitin Narula
>HCL TECHNOLOGIES LTD.
>A1CD,SECTOR-16,NOIDA - 201301(U.P.)INDIA
>Phone - 91-0118-4516321/28 EXT. - 1100.
>Fax - 91-0118-4516315
>E-Mail - [EMAIL PROTECTED]
>____________________________________________
>
>___________________________________________________________________________
>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 fail to prepare is to prepare to fail"
---------------------------------------------------------------------------------------------------------------------------------
yogaraj,
Email - [EMAIL PROTECTED]
Web Site- www.3rdagenda.com
------------------------------------------------
___________________________________________________________________________
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