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=10670>.
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=10670

Problem in JSP compilation

           Summary: Problem in JSP compilation
           Product: Tomcat 4
           Version: 4.1.7
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi,

I'm using Struts 1.1-Beta and Tomcat 4.1.7-beta.  I am using nested struts 
<iterate> tag and when I tried to run the jsp, it gave me a compilation error.  
I do not get the error when I'm using Tomcat 4.0.4.  So there should be 
something wrong with the new JSP compiler then?

The error message is as shown below:
    [javac] Compiling 1 source file
D:\Tomcat 4.1
\work\Standalone\localhost\augolfgui\jsp\mer\mer_0005fadd$jsp.java:754: cannot 
resolve symbol
symbol  : variable terminalCount  
location: class org.apache.jsp.mer_0005fadd$jsp
                              java.lang.Integer _jspx_terminalCount_1 = 
terminalCount;

The correct code that should be produced is java.lang.Integer terminalCount = 
null;

The source code which I've written is as follows:
<logic:iterate id="storeList"
               collection="<%=merchant.getStoreList()%>"
               type="com.ai.golf.pd.StorePD"
               indexId="storeCount">
  <logic:iterate id="terminalList"
                 collection="<%=storeList.getTerminalList()%>"
                 type="com.ai.golf.pd.TerminalPD"
                 indexId="terminalCount">


Thanks.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to