| Author |
Struts-config
|
Parijat Mukherjee
Greenhorn
Joined: Sep 21, 2003
Posts: 26
|
|
|
what is the importance of DOC-TYPE in the struts-config and what all things are to be taken care of
|
 |
Rick Hightower
Author
Ranch Hand
Joined: Feb 20, 2002
Posts: 350
|
|
|
Its the DTD. It specifies the schema of the document.
|
Rick Hightower is CTO of Mammatus which focuses on Cloud Computing, EC2, etc. Rick is invovled in Java CDI and Java EE as well. linkedin,twitter,blog
|
 |
James Holmes
Author
Ranch Hand
Joined: Jan 06, 2004
Posts: 64
|
|
Hi Parijat, The DOC-TYPE element specifies the DTD (Document Type Definition) file that the XML file should conform to. By this I mean that the DTD specifies what tags can be in the XML file, what order they should be in and what attributes the tags have. Essentially DTDs specifiy the format of XML files. To make working with the Struts configuration files easier, I created a tool called Struts Console. Struts Console provides a GUI interface for editing the files so that you don't have to edit the XML by hand. This greatly simplifies development. Struts Console is a free tool and can be downloaded from my website at: http://www.jamesholmes.com/struts/ Hope that helps, James
|
 |
 |
|
|
subject: Struts-config
|
|
|