• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Passing XML Comtent through HTTP between JSP Pages

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to pass a XML content from one JSP to another JSP through HTTP as HTTP content. Then I want to retrieve the XML content from thr target JSP and parse it using parsers like XML4J or JDOM.
How can I do this? How a xml content can be sent through HTTP as HTTP body, not as name-value pair?
Next when I sent it using <jsp:forward name="" value="<%=string containing xml content%>"> and received it by request.getInputStream() and converted it and pass it as inputStream in build() method of SAXBuilder Class, it is not taking it as valid XML content,
Can anybody help me?
Thanx in advance
 
I am displeased. You are no longer allowed to read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic