Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds


  Asked By: Nicole    Date: Nov 22    Category: Java    Views: 980

I am having one problem. I am using RequestDispatcher.forward to forword request to another servlet residing into different server but it's not working. After debug i found it appends the
RequestDispatcher reqDisptacher =context.getRequestDispatcher("targerurl");, it append target Url. Any soluation.



1 Answer Found

Answer #1    Answered By: Jo Fowler     Answered On: Nov 22

usually it's very straight forward,
when you say it's not working  what is the exact message in the log?
try to see if the second servlet  is accessible manually/directly with the expected parameters

Didn't find what you were looking for? Find more on RequestDispatcher.forward Or get search suggestion and latest updates.