File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to read XML Data in action class.. 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 » Frameworks » Struts
Bookmark "How to read XML Data in action class.." Watch "How to read XML Data in action class.." New topic
Author

How to read XML Data in action class..

Girish Gopal
Greenhorn

Joined: Nov 13, 2008
Posts: 10
I have a requirement like this.

There will a offline page which will generate an xml. This page will be a offline form it can be on any machine. when the user submits this page, It will generate an xml. I need to read this xml in my action class and do some processing and generate xml and send it back to the offline page.

How can i do this without any web services being used.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Any XML library should be able to do this; it's not really Struts-specific if you're just trying to parse XML.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to read XML Data in action class..
 
Similar Threads
how to get the setter and getter value in strut2
How to read a html page from internet.
reading a website data to build a dashboard
Return XML Response from Action Class
How an action class read values sent from jsp