Re: Using static ints as values in

2001-10-23 Thread Jonathan M Crater
try this: it's expecting a string as the value. Tony Li wrote: > In my jsp, I have this line: > > > > Instead of the string "search", I would like to use something like: > > > > Where ButtonNames is an interface and SEARCH is a public static final > int. > > When I try to co

Re: Using static ints as values in

2001-10-20 Thread emmanuel.boudrant
> Am I only allowed to use bean "variables" that have > get and set methods? > No, You must do: > > > Where ButtonNames is an interface and SEARCH is a > public static final > int. > > When I try to compile this jsp, I get: > > method setValue(int) not found in class > org.ap

Using static ints as values in

2001-10-19 Thread Tony Li
In my jsp, I have this line: Instead of the string "search", I would like to use something like: Where ButtonNames is an interface and SEARCH is a public static final int. When I try to compile this jsp, I get: method setValue(int) not found in class org.apache.stru