This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes Whether to Specify DTD or not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Whether to Specify DTD or not " Watch "Whether to Specify DTD or not " New topic
Author

Whether to Specify DTD or not

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I just tried removing the DTD specifications for Struts.xml file and Action-Validation.xml file .

The application worked fine , but the console of weblogic displayed exceptions as no grammer defined .

Please let me know whether specying DTD is necessary ??

Thanks in advance .


Save India From Corruption - Anna Hazare.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

What do your observations tell you? Might the behavior be server-specific?
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Everything i working fine
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Whether to Specify DTD or not
 
Similar Threads
java.util.Properties loadXMLFile()
Merging 2 xml files
how xml file is checked against dtd at run time
Server returned HTTP response code: 403 for URL: http://jakarta.apache.org/commons/dtds/validator_1_
XML to WML