This is a bug in weblogic 8.1 sp1, they already have patch for it. Please see the following email from weblogic support person.
As we discussed on the phone, I have found an existing Change Request that sounds like the issue you're experiencing. Here is the description: "While using the struts bean:define tag the jsp compiler should read the TagExtraInfo object and define a variable in the compiled JSP. However, the compiler ignores the TagExtraInfo.getVariableInfo method. It does not define the variable and therefore when used later in the JSP an error of 'cannot resolve symbol'." Quoting "Trieu, Danny" <[EMAIL PROTECTED]>: > Hi all, > > I got: "cannot resolve symbol" > When trying to define: <bean:define id="borrowerIndex" > name="borrowerIndex" > scope="request" /> > And later access using Runtime Expression: <bean:write > name="<%=(String) > formName%>" property='<%="borrower[" + borrowerIndex + "].name"%>' /> > > The actual output: > D:\opt\weblogicapps\ecommerce\.\.tmp_jsp_store\jsp_servlet\_loanorig_jsp\_mo > difymoredata\_optiontable\__tablecell.java:281: cannot resolve symbol > symbol : variable borrowerIndex > location: class > jsp_servlet._loanorig_jsp._modifymoredata._optiontable.__tablecell > _bean_write1.setProperty("borrower[" + borrowerIndex + "].name"); > //[ > /loanorig_jsp/modifyMoreData/optionTable/tableCell.jsp; Line: 26] > > Can anyone tell me why this used to work on 1.0 and not on 1.1? > > Thanks, > > --danny > > > This message and any attachments are for the intended recipient(s) only > and may contain privileged, confidential and/or proprietary information > about Downey Savings or its customers, which Downey Savings does not > intend to disclose to the public. If you received this message by > mistake, please notify the sender by reply e-mail and delete the message > and attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]