• Post Reply Bookmark Topic Watch Topic
  • New Topic

Pass XML data as request from JSP

 
Md Fizal
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to pass XML data as a request from a JSP file to a URL which is an ASP file?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would need to open a URLConnection that addresses the ASP page, create an output stream, create any headers that the ASP page is expecting and send the XML through the output stream. This kind of thing has come up several times recently, you might try a search for URLConnection or HttpURLConnection.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!