• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it possible to send the response as html file

 
Raghu ram
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello frnds,

I wrote a servlet for login. After giving correct username and password it has to send response as html. But is it possible to send response to another html page.

Reply as soon as possible.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at
RequestDispatcher.forward
and
ServletResponse.sendRedirect.

Either can be used to move the user to another resource (such as a servlet, JSP, or HTML page).


Originally posted by Raghu ram:
Reply as soon as possible.

Please see EaseUp
[ January 09, 2008: Message edited by: Ben Souther ]
 
Raghu ram
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanxs for the reply.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!