wood burning stoves*
The moose likes JSP and the fly likes Error in expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Error in expression" Watch "Error in expression" New topic
Author

Error in expression

Philip Zac
Ranch Hand

Joined: Apr 27, 2008
Posts: 66
hello all,

I am using tomcat 5.5 and jstl 1.1.

I got this error
PWC6236: According to TLD or attribute directive in tag file, attribute name does not accept any expressions

the error points to

<s:hidden name='hotelComposite.childList[<cut value="%{cStatus.count-1}"/>].id' value='%{currency.id}'/>



Is there any other way I can replace <cut value="%{cStatus.count-1}"/>


your help will very much appreciated.
Thank you.

Philip
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

http://www.coderanch.com/t/293830/JSP/java/out-custome-tag


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Philip Zac
Ranch Hand

Joined: Apr 27, 2008
Posts: 66
Thanks alot. Bear. do you know where i can find a decent tutorial on JSTL and Struts Tag.

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in expression