Hi Friends,
"I want to send some parameters to a
servlet which is in different web application"
I am sorry, gone through many threads on this but in most of them are given solutions to share data in the same application using headers/request attributes etc.
So please give me a solution how it is possible between web applications.
Here how am trying now...
In Application1 , Servlet 1 :
response.setHeader("Key","value");
response.sendRedirect("New Application URL");
In Applicatino2, Servlet 2:
request.getHeader("key")
But it is not giving the header which am sending.
So please let me know where am wrong help in this.
thanks in advance.