It's a little hard to tell exactly what you're trying to do here, but it
might be helpful to know that '${restaurant.cuisine}' is the same as
'${restaurant[param.field]}' if param.field is equal to cuisine.
With this, you would need only the single case. This strategy is only
useful if you really
David:
The 'field'(s) are defined in RestaurantBean.java if they're not there
nothing happens. cuisine and city field's are exact matches. The name
field is user input and is case insensitive and will any partial part of
a matching name.
What I want to do is to have param.field or
If you want to save the result of an evaluation into another variable,
then just use c:set to set a variable from a value.
-Original Message-
From: Jack Lauman [mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 9:32 AM
To: Tag Libraries Users List
Subject: Re: JSTL Question