• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How do i collect XML object on a JSP page

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic