This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do i collect XML object on a JSP page

 
Rinku Sharma
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic