Friday, August 30, 2002 04:24 AM
That will never work.
Take a look to the way the JSP's are translated into servlets (ie. for Tomcat in work directory you can found the servlets for any .jsp of the app if you deployed it as sources).
The translation process is somehow like this:
1. The taglib tags (as jsp:useBean) are translated into java code
2. All the HTML code is translated into "out.write()"
3. All the server side code <%..%> is left as it is
But there is another simple solution to your problem:
<% for (int y=0; y
session.setAttribute("LineBean" + String.valueOf(y),new signs.LineBean());