This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes Upload XML using formfile in struts 1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Upload XML using formfile in struts 1.3" Watch "Upload XML using formfile in struts 1.3" New topic
Author

Upload XML using formfile in struts 1.3

surya naidu
Ranch Hand

Joined: Jul 26, 2010
Posts: 32
I am trying to upload an XML in struts 1.3 using formfile

Can anyone tell me how can i Read from that XML to capture the elements
Can i validate the XML against a Schema?(If yes how)
I will have a Formfile object in the action class,How do i read that XML from that object

Please Help
Thank you
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9150
    
    9

The ability to process XML is built into Java. Take a look at the JAXP tutorial.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Upload XML using formfile in struts 1.3
 
jQuery in Action, 3rd edition