This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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='%{}'/>

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: 63873

[Asking smart questions] [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 agree. Here's the link:
subject: Error in expression
It's not a secret anymore!