Skip to main content

How can I call a servlet deployed on tomcat server from JAX-RS webservice?

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
ranjuarora
Offline
Joined: 2012-06-07

Hello sir,
I have created a JAX-RS web service as shown by arun's tutorial with some modifications like I am using eclipselink and Tomcat server .

In my web service I need to check IP address of the system from where the service is called and pass on the request data to another servlet deployed on the server after adding some new parameters to the querystring.I am able to get the IP Address.but I don't know how can I call and pass the request information to another servlet.I do have the url of another servlet deployed on the server.

Any help on this will be highly appreciated.

Thanks and Regards
Ranju