You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by MANDAR RAJE <ma...@pathfinder.eng.sun.com> on 2000/04/25 02:54:28 UTC

web.dtd

Hi,

 The web.dtd was recently moved to

  j2ee/org/apache/tomcat/deployment/web.dtd

 Thus there is no web.dtd (deployment descriptor for the
web-application) available at runtime (since j2ee dir. is
not copied over). This causes all the custom-tags to break,
since the getResource() for the dtd returns null.

 I would like to copy web.dtd to its original place ie:

 
  org/apache/tomcat/deployment/web.dtd

 Let me know if anybody has any issues. If I don't hear anything
till tomorrow, I will go ahead.

Thanks,
Mandar.

Re: web.dtd

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Mandar Raje wrote:

> Costin Manolache wrote:
>
> > Hi Mandar,
> >
> > Web.dtd is in TOMCAT_HOME/conf/web.dtd if it helps.
>
> But then what URI do I pass to getResource() ?
>
> Mandar.
>

Mandar ... how about copying the web.dtd file into
org.apache.jasper.resources along with the Taglib DTD?  That way you won't
have an internal dependency on Tomcat's organization within the JSP compiler.

Craig McClanahan



Re: web.dtd

Posted by Mandar Raje <ma...@pathfinder.eng.sun.com>.

Costin Manolache wrote:

> Hi Mandar,
>
> Web.dtd is in TOMCAT_HOME/conf/web.dtd if it helps.

But then what URI do I pass to getResource() ?

Mandar.

>
>
> You can of course put it in org/apache/tomcat/deployment too.
> The deployment package is not used in tomcat.
>
> Costin
>
> MANDAR RAJE wrote:
>
> > Hi,
> >
> >  The web.dtd was recently moved to
> >
> >   j2ee/org/apache/tomcat/deployment/web.dtd
> >
> >  Thus there is no web.dtd (deployment descriptor for the
> > web-application) available at runtime (since j2ee dir. is
> > not copied over). This causes all the custom-tags to break,
> > since the getResource() for the dtd returns null.
> >
> >  I would like to copy web.dtd to its original place ie:
> >
> >
> >   org/apache/tomcat/deployment/web.dtd
> >
> >  Let me know if anybody has any issues. If I don't hear anything
> > till tomorrow, I will go ahead.
> >
> > Thanks,
> > Mandar.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: web.dtd

Posted by Costin Manolache <co...@costin.dnt.ro>.
Hi Mandar,

Web.dtd is in TOMCAT_HOME/conf/web.dtd if it helps.

You can of course put it in org/apache/tomcat/deployment too.
The deployment package is not used in tomcat.

Costin

MANDAR RAJE wrote:

> Hi,
>
>  The web.dtd was recently moved to
>
>   j2ee/org/apache/tomcat/deployment/web.dtd
>
>  Thus there is no web.dtd (deployment descriptor for the
> web-application) available at runtime (since j2ee dir. is
> not copied over). This causes all the custom-tags to break,
> since the getResource() for the dtd returns null.
>
>  I would like to copy web.dtd to its original place ie:
>
>
>   org/apache/tomcat/deployment/web.dtd
>
>  Let me know if anybody has any issues. If I don't hear anything
> till tomorrow, I will go ahead.
>
> Thanks,
> Mandar.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org