>From: David G. Friedman <[EMAIL PROTECTED]>
>Subject: Help with new installation...
>Date: Sat, 11 Dec 2004 23:27:21 -0500
>Content-Type: text/plain;
> charset="US-ASCII"
>
>
>Eric,
>
>Are you sure your web.xml taglib directive is in the right place (usually
>about last)? Have you checked your tomcat logs to see if there are any
>loading errors?
>
>Regards,
>David
The taglibs are the last set of directives in the file, but are still children of the <web-app> tag.
I am finding something suspicious in my logs now:
Dec 12, 2004 12:12:51 AM org.apache.catalina.startup.ContextConfig applicationWebConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/JCIB]
However, Tomcat/webapps/JCIB/WEB-INF/web.xml exists and has full read permissions.
I've looked at the Tomcat mailing list archives, it appears that this is a common problem for people on Windows systems with the OS playing games with folding names to lower-case, but reporting upper-case(or something like that) I'm on Mac OS X and I've verified that the WEB-INF directory is fully upper-cased and that the web.xml is fully lowercased.
However, I realize now that this is not a Struts problem, so I'l switch my query to the Tomcat list, unless anyone here has any parting advice?
Thank you for you reply.
Eric
On Dec 11, 2004, at 10:58 PM, Eric D. Nielsen wrote:
I'm a developer new to Java and Struts. I've been working with other scripting languages for several years, and am excited about an opportunity to return to Java. I'm getting a little frustrated/over-whelmed with getting everything configured properly, however.
I've gotten Tomcat installed and operational. I've gotten Eclipse and the Tomcat Plugin working. Simple JSPs, not using any of Struts, work. I was able to deploy the blank Struts application and obtain the welcome page.
I've been trying to follow along with the Struts In Action book by Husted et al.
However any time I try to use a struts tag lib in a JSP, such as: <%@ taglib uri="/tags/struts-html" prefix="html" %>
I get an error when I view the page: 'org.apache.jasper.JasperException: File "/tags/struts-html" not found' (plus more trace, but assume that's all that really needed.)
struts-html.tld is in the WEB-INF folder for the application the web.xml file contains: <taglib> <taglib-uri>/tags/struts-html</taglib-uri> <taglib-location>/WEB-INF/struts-html.tld</taglib-location> </taglib>
I feel bad asking this question here, as I know it is bound to be something trivial I'm overlooking, but after several days of minor tweaking and no progress I need some help.
What do I need to do?
Thank you.
Eric
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]