• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sevlet Request Dispatcher  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to dispatch a request from one servlet(which is in one application ) to another servlet which is in another application?

Possible means kindly give the steps.
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. You specify the absolute URL for the other servlet in your request dispatcher.
 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.jguru.com/faq/view.jsp?EID=50791

HTH

-Bhavin
 
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use sendRedirect.
This, of course, won't carry the session and request data with it.
 
Ruth Stout was famous for gardening naked. Just like this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!