Try:

<nested:define id="hdate"
               property="nextTxnDate"
               type="java.lang.String"/>

or:

<nested:hidden property="historicalNextTxnDate"
               value="<%= String.valueOf(hdate) %>"/>

Quoting Phillip Qin <[EMAIL PROTECTED]>:

> page.jsp:
> 
> <nested:define id="hdate" property="nextTxnDate"/>
> <nested:hidden property="historicalNextTxnDate" value="<%= hdate %>"/>
> 
> I got following error when this page is loading:
> 
> [ServletException in:/page.jsp] Unable to compile class for JSP An error
> occurred at line: 63 in the jsp file: /page.jsp Generated servlet error:
> [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1
> source file [javac] Since fork is true, ignoring compiler setting. [javac]
> /usr/local/jakarta-tomcat-4.1.24/work/Standalone/myhost.com/myapp/page_jsp.j
> ava:296: cannot resolve symbol [javac] symbol : method setValue
> (java.lang.Object) [javac] location: class
> org.apache.struts.taglib.nested.html.NestedHiddenTag [javac]
> _jspx_th_nested_hidden_0.setValue( hamount ); [javac] ^ [javac] Note:
> /usr/local/jakarta-tomcat-4.1.24/work/Standalone/myhost.com/myapp/page_jsp.j
> ava uses or overrides a deprecated API. [javac] Note: Recompile with
> -deprecation for details. [javac] 1 error '
> 
> 
> 
> Regards,
> 
>  
>  
> PQ
> 
> "The difference between 'involvement' and 'commitment'
> is like an eggs-and-ham breakfast: the chicken was
> 'involved' - the pig was 'committed'."
> 
> 


-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to