You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/10/11 10:50:26 UTC

DO NOT REPLY [Bug 23740] New: - struts 1.1 final bean:define not work on aix

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23740>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23740

struts 1.1 final bean:define not work on aix

           Summary: struts 1.1 final bean:define not work on aix
           Product: Struts
           Version: 1.1 Final
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: sharesun2@sina.com.cn


I run a jsp on (win2000 / redhat9 / aix 5) + weblogic8.1sp1 + struts1.1f
got correct result on win2000 / redhat
but meet some problem on aix 5


aix env:

java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca141-20030703a (JIT enabled: 
jitc))

aix5.2.01

WebLogic Server 8.1 SP1

struts 1.1 final

****.jsp
<logic:iterate id="item" name="items" 
type="org.apache.struts.tiles.beans.MenuItem">
<bean:define name="item" property="link" id="link" type="java.lang.String"/>
<%  // Add site url if link start with "/"
	boolean flagPer = false;
    link = item.getLink();
	if(link.startsWith("/") ){
		flagPer = true;
		link = request.getContextPath() + link;
	}
%>

compiler error(s):
cannot resolve symbol
symbol  : variable link

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org