Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sevlet Request Dispatcher

 
kanchi panneer
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.
 
Annie Smith
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.
 
Bhavin Sanghani
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
 
Ben Souther
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic