Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pass XML data as request from JSP  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!