You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "vijay thiagarajan (JIRA)" <ji...@apache.org> on 2006/06/27 15:19:16 UTC
[jira] Created: (STR-2895) CLONE -DEFINE tag causes compilation
issues
CLONE -DEFINE tag causes compilation issues
-------------------------------------------
Key: STR-2895
URL: http://issues.apache.org/struts/browse/STR-2895
Project: Struts Action 1
Type: Bug
Components: Apps
Versions: 1.1 Final
Environment: Websphere 6, Solaris / Windows
Reporter: vijay thiagarajan
Hi
recently we migrated our application from Websphere app server 5 to Websphere app server 6. Our application uses struts. In Websphere 6 the DEFINE tag used does not compile and hence results in compilation error
JSPG0091E: An error occurred at line: 74 in the file: /body.jsp
JSPG0093E: Generated servlet error from file: /body.jsp
D:\Program Files\IBM\WebSphere\AppServer\profiles\default\temp\uk-nmuk-d1232\server1\NOVA-CMS-EAR\NOVA-CMS.war\_body.java:241: cannot resolve symbol
symbol : variable localeMeasure
location: class com.ibm._jsp._body
localeMeasure = (java.lang.String) pageContext.findAttribute("localeMeasure");
IBM document mentioned it as a known issue and provided a patch. I have install all patches and even install the latest available path 6.0.2.11 (http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PQ99154) still the JSP does NOT compile.
Could you please tell me how this can be resolved? I need it very urgent as this would hugely delay the migration.
Thank you for the great help.
Regards,
Vijay T
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (STR-2895) CLONE -DEFINE tag causes compilation
issues
Posted by "James Mitchell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/STR-2895?page=all ]
James Mitchell resolved STR-2895.
---------------------------------
Resolution: Won't Fix
I only speak for myself here, but I have no incentive to waste time trying to fixup a tag so that someone can run sloppy code on a broken container.
Unless someone wants to provide a patch (with a test), then this is a dead issue.
> CLONE -DEFINE tag causes compilation issues
> -------------------------------------------
>
> Key: STR-2895
> URL: http://issues.apache.org/struts/browse/STR-2895
> Project: Struts 1
> Issue Type: Bug
> Components: Apps
> Affects Versions: 1.1 Final
> Environment: Websphere 6, Solaris / Windows
> Reporter: vijay thiagarajan
>
> Hi
> recently we migrated our application from Websphere app server 5 to Websphere app server 6. Our application uses struts. In Websphere 6 the DEFINE tag used does not compile and hence results in compilation error
> JSPG0091E: An error occurred at line: 74 in the file: /body.jsp
> JSPG0093E: Generated servlet error from file: /body.jsp
> D:\Program Files\IBM\WebSphere\AppServer\profiles\default\temp\uk-nmuk-d1232\server1\NOVA-CMS-EAR\NOVA-CMS.war\_body.java:241: cannot resolve symbol
> symbol : variable localeMeasure
> location: class com.ibm._jsp._body
> localeMeasure = (java.lang.String) pageContext.findAttribute("localeMeasure");
> IBM document mentioned it as a known issue and provided a patch. I have install all patches and even install the latest available path 6.0.2.11 (http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PQ99154) still the JSP does NOT compile.
> Could you please tell me how this can be resolved? I need it very urgent as this would hugely delay the migration.
> Thank you for the great help.
> Regards,
> Vijay T
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (STR-2895) CLONE -DEFINE tag causes compilation
issues
Posted by "vijay thiagarajan (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/STR-2895?page=all ]
vijay thiagarajan updated STR-2895:
-----------------------------------
We found out a make shift solution but i am not sure why it is behaving differently
original code
<% try { %>
<bean:define id="localeMeasure"><bean:message bundle="measurement" name="attributes" property="measurement" /></bean:define>
<% } catch(javax.servlet.jsp.JspException e) {
<bean:define id="localeMeasure" value="" />
%>
New code
<% try { %>
<bean:define id="localeMeasure" value="" />
<bean:define id="localeMeasure"><bean:message bundle="measurement" name="attributes" property="measurement" /></bean:define>
<% } catch(javax.servlet.jsp.JspException e) {
System.out.println("*****************" + e.getMessage());
%>
I understand that bean:define cannot be used twice but still it is working in Websphere 6.
it does not work in Websphere 5. Its confusing?
Is there any other better solution?
Regards,
Vijay
> CLONE -DEFINE tag causes compilation issues
> -------------------------------------------
>
> Key: STR-2895
> URL: http://issues.apache.org/struts/browse/STR-2895
> Project: Struts Action 1
> Type: Bug
> Components: Apps
> Versions: 1.1 Final
> Environment: Websphere 6, Solaris / Windows
> Reporter: vijay thiagarajan
>
> Hi
> recently we migrated our application from Websphere app server 5 to Websphere app server 6. Our application uses struts. In Websphere 6 the DEFINE tag used does not compile and hence results in compilation error
> JSPG0091E: An error occurred at line: 74 in the file: /body.jsp
> JSPG0093E: Generated servlet error from file: /body.jsp
> D:\Program Files\IBM\WebSphere\AppServer\profiles\default\temp\uk-nmuk-d1232\server1\NOVA-CMS-EAR\NOVA-CMS.war\_body.java:241: cannot resolve symbol
> symbol : variable localeMeasure
> location: class com.ibm._jsp._body
> localeMeasure = (java.lang.String) pageContext.findAttribute("localeMeasure");
> IBM document mentioned it as a known issue and provided a patch. I have install all patches and even install the latest available path 6.0.2.11 (http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg1PQ99154) still the JSP does NOT compile.
> Could you please tell me how this can be resolved? I need it very urgent as this would hugely delay the migration.
> Thank you for the great help.
> Regards,
> Vijay T
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira