This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Passing XML Comtent through HTTP between JSP Pages Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Passing XML Comtent through HTTP between JSP Pages" Watch "Passing XML Comtent through HTTP between JSP Pages" New topic
Author

Passing XML Comtent through HTTP between JSP Pages

Nirban Dutta
Greenhorn

Joined: Jun 20, 2001
Posts: 9
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
 
 
subject: Passing XML Comtent through HTTP between JSP Pages
 
Threads others viewed
generating XML using servlets/jsp
Pass expression value to custom tag class?
JSF Navigation Issue
Struggling with Acegi authentication....
select tag in struts
developer file tools