File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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='%{}'/>

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

[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 agree. Here's the link:
subject: Error in expression