https://issues.apache.org/bugzilla/show_bug.cgi?id=44546
Summary: Pre-compilation of JSPs fails to evaluate attributes to tag files Product: Tomcat 5 Version: Unknown Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] First of all - I'm really sorry about the quality of this bug report. I'm using Jasper via the maven2 jspc plugin and so have no idea what version it is. I'm guessing it's Tomcat 5. I'm also guessing it's a problem with Jasper and not the plugin. Now onto the bug... When I don't use jspc the application works perfectly. 2008-03-06 10:43:52,622 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WhenShouldITakeMyMeds].[jsp.WEB_002dINF.jsp.createSchedule_js p]] Servlet.service() for servlet jsp.WEB_002dINF.jsp.createSchedule_jsp threw exception javax.servlet.jsp.JspTagException: No message found under code '' for locale 'en_US'. at org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:184) at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:77) at org.apache.jsp.tag.web.formRow_tag._jspx_meth_spring_message_0(org.apache.jsp.tag.web.formRow_tag:224) at org.apache.jsp.tag.web.formRow_tag.doTag(org.apache.jsp.tag.web.formRow_tag:141) at jsp.WEB_002dINF.jsp.createSchedule_jsp._jspx_meth_tags_formRow_0(jsp.WEB_002dINF.jsp.createSchedule_jsp:199) The line causing the problems is in a tag file called standardHead.tag which sets the title, meta information, imports css etc. <%@ include file="/WEB-INF/includes/useTags.jsp" %> <%@ attribute name="code" required="true" %> <head> <title><spring:message code="site.title"/> - <spring:message code="${code}"/></title> <jsp:doBody /> </head> Other message codes throughout the site work fine, but when they are passed as attributes to a tag file, they don't. Other infomation that may be of interest - I'm compiling with java 6, but targetting java 5, and running ubuntu 7.10. My app server is JBoss 4.2.2.GA Once again I'm really sorry I can't be specific. If you can tell me how to precompile the JSPs just using jasper, I'll happily do that to isolate the issue from maven2 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]