How can I call a servlet deployed on tomcat server from JAX-RS webservice?
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