RE: This absolute uri (<a href="http://www.opensymphony.com/sitemesh/decorator">http://www.opensymphony.com/sitemesh/decorator</a>) ...
"James Cook" <[email protected]>
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <000401c53aab$23f562f0$bc8c730a@CENITCCD118> |
> -----Original Message----- > From: Bob Baker [mailto:[email protected]] > > I'm getting the following error when I try to run my application after > deployment. > > "org.apache.jasper.JasperException: This absolute uri > (http://www.opensymphony.com/sitemesh/decorator) cannot be resolved in > either web.xml or the jar files deployed with this application" > > Could this be a Tomcat version issue? I develop on Tomcat 5.0, but my > hosting service is running 4.1.29. Yes, it is probably a Tomcat version issue. Tomcat 5.x is a servlet 2.4/JSP 2.0 container while Tomcat 4.x is a servlet 2.3/JSP 1.2 container. In JSP 2.0, Sun spec'd that the configuration of TLD files (in the web.xml) is optional if the tag library's jar files were properly organized. Try adding the TLD configuration for sitemesh to your web.xml file. <taglib> <taglib-uri>http://www.opensymphony.com/sitemesh/decorator</taglib-uri> <taglib-location>/WEB-INF/lib/sitemesh-decorator.tld</taglib-location> </taglib> <taglib> <taglib-uri>http://www.opensymphony.com/sitemesh/page</taglib-uri> <taglib-location>/WEB-INF/lib/sitemesh-page.tld</taglib-location> </taglib> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]