Re: Send data from servlet to servlet

2002-09-04 Thread Ted Husted
If one is just requesting XML from the the other, you can just send the XML as the response and let the receiving servlet parse it. The Commons Digester is particular good at turning XML into a JavaBean (and vice versa). There's a RSS package that does this for the Rich Site Summary format. -

Re: Send data from servlet to servlet

2002-09-04 Thread jwang13
Ted, How to send this large size string as response in perform() of the struts Action? Can you give some code sample? As I mentioned in previous email, neither set parameter nor set attribute works in this situation. Set parameter won't work for large size data and set attribute won't work due

RE: Send data from servlet to servlet

2002-09-04 Thread Martin Cooper
Are you trying to send the data as part of a request or as part of a response? If it's part of a request, then you should use a POST request with multipart/form-data encoding. If it's part of a response, then just send the data directly, and then return null from your Struts Action. -- Martin Coo

Re: Send data from servlet to servlet

2002-09-04 Thread John Yu
Another option is to use SOAP. You can plug Apache SOAP (http://xml.apache.org/soap/index.html) as a servlet into the servlet container (the receiving end). At 05:12 am 05-09-2002, you wrote: >I have two web applications running on two domains. I need to send >data(large amount of xml string) f

RE: Send data from servlet to servlet

2002-09-05 Thread Galbreath, Mark
I don't think comments about his personal hygiene are warranted. -Original Message- From: John Yu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 9:56 PM Another option is to use SOAP. -- To unsubscribe, e-mail: For additional commands, e-mail

RE: Send data from servlet to servlet

2002-09-05 Thread jwang13
leweed.com> cc: Subject: RE: Send data from servlet to servlet