tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mufaddal Khumri <mufad...@wmotion.com>
Subject Re: Deployer problem
Date Tue, 10 Feb 2004 21:35:23 GMT
JSP 2.0 has no .tld files any more. Neither do you need to edit your 
web.xml file. You need to copy your tags to WEB-INF/tags directory.

x1.tag file, must reside in WEB-INF/tags

The jsp pages will have the following change:

<%@ taglib prefix="someTag" tagdir="/WEB-INF/tags" %>

<someTag:x1>

</someTag:x1>


Hope this helps

Mufaddal.

On Feb 10, 2004, at 2:22 PM, Chanan Braunstein wrote:

>  Hello,
> 	I am trying to use the client deployer to compile my web-app. There
> is not much help on the issue, and for someone like me that never used 
> ant
> before it is hard to figure out what to do... However here is what I 
> did so
> far:
>
> Download ant & tomcat 5 deployer. Copied the deployer lib files into 
> ant
> lib. Added ant\bin to my PATH (Windows) copied build.xml from the 
> deployer
> to my webapp directory. Copied the lib folder from ant to my webapp
> directory (I guess I could have put the path in the command line for 
> ant,
> but I was too lazy and I wanted to see if it works first), edited the
> build.xml to point to the name of my web-app. And then executed ant 
> from the
> command line.
>
> Here is my output:
>
> compile:
>      [copy] Copying 1965 files to C:\Tomcat 
> 5.0\webapps\build\webapp\knovel2
>      [copy] Copied 33 empty directories to 1 empty directory under 
> C:\Tomcat
> 5.0
> \webapps\build\webapp\knovel2
>   [jasper2] Feb 10, 2004 4:15:09 PM org.apache.jasper.JspC 
> initClassLoader
>   [jasper2] WARNING: TLD files should not be placed in /WEB-INF/lib
>   [jasper2] Feb 10, 2004 4:15:09 PM org.apache.jasper.JspC 
> initClassLoader
>   [jasper2] WARNING: TLD files should not be placed in /WEB-INF/lib
>   [jasper2] Feb 10, 2004 4:15:09 PM org.apache.jasper.JspC 
> initClassLoader
>   [jasper2] WARNING: TLD files should not be placed in /WEB-INF/lib
>   [jasper2] Feb 10, 2004 4:15:09 PM org.apache.jasper.JspC 
> initClassLoader
>   [jasper2] WARNING: TLD files should not be placed in /WEB-INF/lib
>
> BUILD FAILED
> C:\Tomcat 5.0\webapps\build.xml:73: 
> java.lang.ExceptionInInitializerError
>
> So questions:
>
> 1) What is up with not putting tld files in the lib folder? Where is a
> better location?
> 2) why did the build fail? And how do I fix it?
>
> 	Thanks,
>
> Chanan Braunstein
> Knovel Corp.
> Web Development Manager
> 607-773-1840 x672
> http://www.knovel.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message