Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet hi,i'am new to Jsp.Can some one please let me know an answer for this question?

Have Programming Question? Ask it here!
 
 
 


manish
hi,i'am new to Jsp.Can some one please let me know an answer for this question?
1 Answer(s)      11 months ago
Posted in : JSP-Servlet


how do we upload an xml file and validate them against WIPO DTD


Advertisement
View Answers

October 6, 2013 at 11:07 AM


Hi,

Please see the example for uploading a file on Server: File Upload Tutorial With Examples In JSP.

You can use the following code for validating xml against DTD:

  DocumentBuilderFactory.newInstance();
  factory.setValidating(true);

Read XML Validate DTD example to see the complete code for validating XML using DTD.

Thanks



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com