File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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

How to read XML Data in action class..

Girish Gopal

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

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.
Don't get me started about those stupid light bulbs.
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