• Post Reply Bookmark Topic Watch Topic
  • New Topic

Upload XML using formfile in struts 1.3  RSS feed

 
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: 9406
12
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!