hi,
you just load an URL and pass the data as string
let's see an example:
you have a servlet running on http://localhost:7001 (WLS)
then your application(servlet) running on http://localhost:8080 (whatever)
let's assume that you want to give xml data to the servlet running on WLS
so, you use URL url = new URL("http://localhost:7001/yourservlet?xml=" +
xmldata");
now, the servlet will do something with that data....
let's assume that it outputs it.....
so, with
BufferedReader in = new BufferedReader(new
InputStreamReader(url.openStream()));
and then you can read it with while(in.readLine()!=null) .. somehting like
that
you got back the serlvet reply (XML)
hope this help
br
marco
> -----Original Message-----
> From: ext Menon Madhu [mailto:[EMAIL PROTECTED]]
> Sent: 16. January 2001 10:39
> To: [EMAIL PROTECTED]
> Subject: JSP XML Integration
>
>
> Hi,
>
> How can i pass an XML data from one web server to
> another web server
> and get the reponse back from it ? If done can we encrypt the data ?
>
> Regards,
> Madhu Menon.
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets