Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Upload XML using formfile in struts 1.3

 
surya naidu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ability to process XML is built into Java. Take a look at the JAXP tutorial.
 
Oh the stink of it! Smell my tiny ad!
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!