AbelMacAdam wrote: > > Hi, > > I'm learning to work with Struts. (FWIW, I use Eclipse Europa, and > Apache/Tomcat). Now I have my first example with a tld-file. First of all, > I noticed the following error in Eclipse on a jsp: > Cannot find the tag library descriptor for /tags/struts-html > > The first line of the jsp with the error is: > <%@ taglib uri="/tags/struts-html" prefix="html" %> > > My WEB-INF/web.xml contains the following lines: > <taglib> > <taglib-uri>/tags/struts-html</taglib-uri> > <taglib-location>/WEB-INF/struts_html.tld</taglib-location> > </taglib> > > And the same WEB-INF directory also contains the struts_html.tld file. > > So far the background. If I run this example in Tomcat I get a page > without textfields and a submit button. So this example clearly does not > work. Do you know what I need to do to get this example working? Am I > right in assuming I get not textfields/buttons because the tag library > descriptor is not found? > > TIA, > Abel >
What version of Struts 1 are you using? > None. I actually use 2.0.11. Easy way to check: unpack the jar and see if the META-INF directory contains the tld. It could very well be an incorrectly built jar. > Struts.jar contains struts-html.tld And strangely enough, the next example did not show the error, and was displayed correctly. I even added Struts to the first example. But it still does not work. If no one else has an explanation I write it off to earth rays. Abel -- View this message in context: http://www.nabble.com/Taglib-not-seen%2C-no-text-fields--tp14433671p14436735.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]