aspose file tools*
The moose likes Servlets and the fly likes SERVLET-CONNECTIVITY Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "SERVLET-CONNECTIVITY" Watch "SERVLET-CONNECTIVITY" New topic
Author

SERVLET-CONNECTIVITY

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I HAVE CREATED HTML PAGE FROM THAT I M ACCEPTING USER NAME & PASSWORD & SUBMIT BUTTON OF THIS HTML PAGE IS CALLING MY SERVLET.
IN SERVLET I M CHECKING USER NAME & PASSWORD.
IF USER NAME & PASSWORD IS CORRECT THEN I WANT TO DISPLAY SOME OTHER HTML PAGE WHICH IS PREVIOUSLY CREATED.
BUT I DONT WANT TO WRITE HTML CODING IN MY SERVLET PROG.
HOW TO GET THIS?
response.Redirect(url),method is not working.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
<hint>don't write in all caps - it looks like you are shouting</hint>
The method you want is in HttpServletResponse -
sendRedirect( urlstring );
Bill
------------------
author of:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SERVLET-CONNECTIVITY