Hello,

Any idea how to compile JSP 2.1 in Struts 1? I believe Jasper is out of the
picture... I'm not even sure where to begin looking for answers.

I'm using Jetty and we use the EL and struts tags quite a lot. A typical
example is as follows:

<logic:iterate id="selCust" name="reportForm"
property="selectedCustomerNames" indexId="index">
<bean:write name="selCust"/><c:if test="${index<sizeCust-1}">,&nbsp;</c:if>
</logic:iterate>

but the JSP compilation is failing, throwing the following exception:

     [echo] Compile the JSP's
    [javac] Compiling 362 source files to <destination path>
    [javac] <path and file name>: incompatible types
    [javac] found   : java.lang.Integer
    [javac] required: java.lang.String
    [javac]                             String _jspx_temp0 = index;


Thanks!
-- 
View this message in context: 
http://old.nabble.com/Compiling-JSP-2.1-tp27723978p27723978.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to