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

servlet to servlet

 
HASIKA NANAYAKKARA
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I AM A DEBUTAN TO THE JAVA WORLD.LET ME KNOW HOW TO CALL A SERVLET FROM ANOTHER SERVLET(REDIRECT).CAN'T I USE THE "REQUEST.GETREQUESTDISPATCHER(...... " METHOD.I DON'T WANT TO GENERATE A HTML PAGE BY THE SERVLET.I JUST WANT TO CALL ANOTHER SERVLET.PLEASE I WANT IT QUICKLY,AND MAKE IT AS SIMPLE AS POSSIBLE.THANKS ALOT.
SAK2H
[This message has been edited by HASIKA NANAYAKKARA (edited June 03, 2001).]
[This message has been edited by HASIKA NANAYAKKARA (edited June 03, 2001).]
 
S Chandra Mohan
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Hasika,
U can redirect the request by using the following URL
response.sendRedirect("Your Second servlet");
If u want more, Let me know about it.
All The Best

------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic