Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

request dispacher

 
linta sebastian
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello

to transfer from servlet to jsp we are using request dispatcher. similarly
what to do from jsp to servlet. the same one or different. please explain with simple program
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you don't need get request dispatcher object in JSP. JSP itself provides a support for it.

Use <jsp:forward> which will do same as requestDispatcher.forward() in servlet.

Check THIS out.
[ December 08, 2006: Message edited by: Prabhu venkatachalam ]
 
linta sebastian
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you, prabhu its very helpful for me
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic