jQuery in Action, 3rd edition
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

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.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63208


[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.

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Error in expression
It's not a secret anymore!