How to invoke my servlet from a third party web client which gives a request parameter of url to my servlet.
Basically the request coming from a web application will send a URL, to my servlet. How to handle that.
And also how can I send the response back without redirecting the user to a different url, the user should be able to do what ever he wants, meaning he should not be taken to any other page for response. It should be sent to the user directly and also uniquely.
Yes, I need to know how can the third party web client should initiate my servlet.
The scenario is that
There is a button which is clicked, this button should invoke my servlet, from where I should take a request URL, given by that button click, which will have some parameters that I need to query to database and render the data to Excel and send this excel as response to user, without redirecting to any other url. Just Excel sheet should popup. For Happy Scenario.
If error, then can I give them a window popup saying error. Please let me know how to do window popup.
Please let me know if you need any more information.