You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Trieu, Danny" <DT...@downeysavings.com> on 2003/09/23 02:24:00 UTC

It works on Weblogic8.1&&Struts1.0.2 but not on Weblogic8.1&&Struts1.1

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.

Re: It works on Weblogic8.1&&Struts1.0.2 but not on Weblogic8.1&&Struts1.1

Posted by wx...@njit.edu.
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" <DT...@downeysavings.com>:

> 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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org