hi,i'am new to Jsp.Can some one please let me know an answer for this question?

Ads
Ads

hi,i'am new to Jsp.Can some one please let me know an answer for this question?


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

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

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


Ads









Related Tutorials/Questions & Answers:
Advertisements