https://issues.apache.org/bugzilla/show_bug.cgi?id=49434
Summary: twice declaration of a variable in a JSP.
Product: Tomcat 6
Version: 6.0.24
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
When declaring a variable in jsp in struts for example (<bean:define id="url"
value="" />), it works well for code generation and compilation by tomcat. Then
when I declare the same variable again (<bean:define id="url" value="toto" />)
it crashes to the compilation by tomcat.
Here is an example of code from the page of liferay 4.4.2
ext\ext-web\docroot\html\portal\layout\edit\url.jsp:
<bean:define id="url" value="" />
<logic:notEmpty name="SEL_LAYOUT" property="typeSettingsProperties(url)">
<bean:define id="url" name="SEL_LAYOUT" property="typeSettingsProperties(url)"
type="java.lang.String" />
</ Logic: notEmpty>
In a previous version of tomcat (6.0.16) it works well. My variable is declared
once in the generated java code.
Best regards
Dominique Henaff
--
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]