wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 8876
    
    8

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[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