Rob Spoor wrote:That would until you decide to move the JSP to a sub folder and forget to modify either the JSP or the servlet's URL mapping.
Christina Bremmerman wrote:Your If loop is setting it to true and then right after you are setting it to false.
Just remove the tnt=false line because that's what's resetting it back to false
or if you really want you could make the false into your else clause
James Boswell wrote:abhinav
You would need to parse the XSD file to pick out, at a minimum, the mandatory elements required in the XML file.
The JAXP tutorial may help you here: http://docs.oracle.com/javase/tutorial/jaxp/index.html
I do agree with Paul though. I see no reason why you would want to do this.
James Boswell wrote:abhinav
You would need to parse the XSD file to pick out, at a minimum, the mandatory elements required in the XML file.
The JAXP tutorial may help you here: http://docs.oracle.com/javase/tutorial/jaxp/index.html
I do agree with Paul though. I see no reason why you would want to do this.
Paul Clapham wrote:Or to look at it the other way around: if there's no reason to do it, then there's no reason to help you to do it.
(And my record is still perfect: nobody has yet stated a reason for doing this.)