This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes The Validation xml DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "The Validation xml DTD" Watch "The Validation xml DTD" New topic
Author

The Validation xml DTD

Eric Sexton
Ranch Hand

Joined: Sep 12, 2003
Posts: 133
When working on my web app, if I am not validated through our in house proxy server, I can't build by application because the Struts validation.xml cannot verify the dtd out on the net. Sometimes the internet connection is down, and then I can't rebuild and test out the app.
I wanted to import the dtd directly into my web app. Is this an acceptable method? Where would I put the dtd in the app? Thanks in advance.
manasa teja
Ranch Hand

Joined: May 27, 2002
Posts: 325
Yes .. I did the same thing. I just downloaded dtd file form net put in some directory and changed teh path of dtd in validation.xml.
Its working.. I think, its accepted.


MT
Eric Sexton
Ranch Hand

Joined: Sep 12, 2003
Posts: 133
Sweet. Thanks Manasa.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: The Validation xml DTD