Enrique Riesgo wrote:
>
> Does anybody know how can I get the DTD for the Tomcat 4.X server.xml
> configuration file?
>
There's no proper DTD for server.xml. The startup code figures
out the legal attributes for the elements at runtime, by using
introspection. For example, it's legal to do:
<Realm className="com.distributopia.mtc.MinimalRealm"
users="scott/tomcat/role1" />
Note that the "users" attribute is specific to MinimalRealm,
but you can put it in server.xml because Tomcat 4 looks at
the bean methods on MinimalReal at runtime, finds setUsers(),
and calls it for you automatically.
You can see how it would be hard to write a DTD for that
sort of thing.
--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>