Hi All,

I have an application where in, i pass request to Struts from a Servlet.


In my Struts Action class, i take these values , hit the DB and get some other values from the DB, Now i wanna send back the data to the Client Servlet as Key/Value pairs.

return String to Client Servlet :

so that the Client can access the values thru request Object.

String qualification = request.getParameter("qualification");

String specialisation= request.getParameter("specialisation");

both the servlet and Struts are on different Application Servers..

How do i do this????

As of now i am passing/accessing the values thru BufferedStream, i want to avoid that and send the values bak as Key/Value pairs..

Any help would be highly appreciated..
Thanks in Advance..