This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes How do i collect  XML  object on a JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How do i collect  XML  object on a JSP page" Watch "How do i collect  XML  object on a JSP page" New topic
Author

How do i collect XML object on a JSP page

Rinku Sharma
Greenhorn

Joined: Mar 30, 2001
Posts: 18
Hi friends,
I have a XML object which i am sending thru the url(which is calling the jsp page) and want to collect this object on the JSP page how do i go about doin it.
It doesnt happen thru request.getParameter();
Bye,
amit
Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
Hi,
Its not clear from where you are sending the XML object. I am assuming that b'cos its an object you are trying to send it from another jsp. In that case, all you have to do is.
session.setAttribute("xmlobj",xmlobj)
session.getAttribute("xmlobj")
Hope this helps.
If not, please tell the scenario completely.
Ram Dhan YK


Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i collect XML object on a JSP page
 
Similar Threads
Javascript to reach inside a servlet...
call xml file thru Struts jsp file
How to parse a request string(xml format) from a flash file in a JSP Page
Updating data from jsp pages into an xml file
How to parse a request string(xml format) from a flash file in a JSP Page