File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do i collect XML object on a JSP page

 
Rinku Sharma
Greenhorn
Posts: 18
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic