My Jsp file need to forward a request to another servlet which is located in another Web Application on another machine. How can I do that? If I also want to add more parameters to the original request from the jsp file, what should I do?

Erik Runia

You can use a:

response.sendRedirect("fullUrlHere");

and in the fullURLHere are link to your other server, servlet and send parameters using a GET with ?name=value&name=value etc.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact