From jira-events at lists.jboss.org Fri Feb 5 10:17:19 2010 Content-Type: multipart/mixed; boundary="===============8764369000763634709==" MIME-Version: 1.0 From: Remy Maucherat (JIRA) To: jboss-jira at lists.jboss.org Subject: [jboss-jira] [JBoss JIRA] Resolved: (JBAS-5299) Jboss 4.2.2 ignores attributes to tag files when pages are pre-compiled Date: Fri, 05 Feb 2010 10:17:19 -0500 Message-ID: <1947916668.1265383039683.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> In-Reply-To: 693677.1205102998221.JavaMail.jira@cloud.prod.atl2.jboss.com --===============8764369000763634709== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBAS-5299?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Remy Maucherat resolved JBAS-5299. ---------------------------------- Fix Version/s: JBossAS-6.0.0.M2 Resolution: Rejected Moving to Servlet 3.0 has led to removal of precompilation, so I am closing= any related JIRA. > Jboss 4.2.2 ignores attributes to tag files when pages are pre-compiled > ----------------------------------------------------------------------- > > Key: JBAS-5299 > URL: https://jira.jboss.org/jira/browse/JBAS-5299 > Project: JBoss Application Server > Issue Type: Bug > Security Level: Public(Everyone can see) = > Components: Web (Tomcat) service > Affects Versions: JBossAS-4.2.2.GA > Environment: Ubuntu 7.10, java 6.03, JBoss 4.2.2.GA > Reporter: Stephen Cresswell > Assignee: Remy Maucherat > Fix For: JBossAS-6.0.0.M2 > > > The following will not work on JBoss 4.2.2.GA when JSPs are precompiled. = > > <%@ taglib prefix=3D"spring" uri=3D"http://www.springframework.org/tags" = %> > <%@ attribute name=3D"code" required=3D"true" %> > > <spring:message code=3D"site.title"/> - <spring:message code=3D"$= {code}"/> > > > <%@ taglib prefix=3D"tags" tagdir=3D"/WEB-INF/tags/" %> > > > >
= >

> >
> > > Even though the standardHead tag is passed a valid message key 'contactUs= .title', when precompiled this value is translated to the empty string, cau= sing the following error. = > javax.servlet.ServletException: javax.servlet.jsp.JspTagException: No mes= sage found under code '' for locale 'en_GB'. > The page works fine if not precompiled. > It also works fine when deployed to tomcat 5.5.26 precompiled or otherwis= e. = > The same war that fails on JBoss 4.2.2.GA works if deployed to 4.2.1.GA > I have created a demonstration app if required. -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============8764369000763634709==--