RE: JSTL Question

2005-04-11 Thread Karr, David
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 Li

Re: JSTL Question

2005-04-11 Thread Jack Lauman
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 ${restauran

RE: JSTL Question

2005-04-11 Thread Karr, David
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 rea

RE: JSTL question

2004-06-09 Thread Mark Goking
The result is 重复 instead of chinese characters -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 7:25 PM To: Tag Libraries Users List Subject: Re: JSTL question What happens with either: or: Quoting Mark Goking <[EMAIL PROTEC

Re: JSTL question

2004-06-09 Thread Kris Schneider
What happens with either: or: Quoting Mark Goking <[EMAIL PROTECTED]>: > > > My problem with jstl is the storing unicode characters. > > Outputting let's say chinese characters from a form post , this code > outputs it correctly > > > > > However, storing this in a variable wil

Re: jstl question

2003-09-11 Thread Adam Hardy
Hi Richard, you should ask this on the taglib-user list. If people don't stick to one list, it makes twice as much work to search the archives, which I find a PITA anyway. With my crude knowledge of jstl I would do this: <%=bean.getValueNum(test) %> People on taglibs-user might know a better w

Re: JSTL question: how to use variables in and

2003-07-21 Thread K.C. Baltz
#x27;sessionScope', 'requestScope' and 'applicationScope'? -- Oorspronkelijk bericht -- Reply-To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Date: Mon, 21 Jul 2003 06:44:02 -0700 From: "K.C. Baltz" <[EMAIL PROTECTED]> To: Tag Libraries U

Re: JSTL question: how to use variables in and

2003-07-21 Thread Charl Gerber
;? >-- Oorspronkelijk bericht -- >Reply-To: "Tag Libraries Users List" <[EMAIL PROTECTED]> >Date: Mon, 21 Jul 2003 06:44:02 -0700 >From: "K.C. Baltz" <[EMAIL PROTECTED]> >To: Tag Libraries Users List <[EMAIL PROTECTED]> >Subject: Re: JSTL question:

Re: JSTL question: how to use variables in and

2003-07-21 Thread K.C. Baltz
All the JSTL tags use EL ("Expression Language") which generally looks like ${ ... }. All of the variables referenced in EL are in some sort of scope, (page, request, session, application). That scope is handled by HashMaps (E.g. request.getAttribute() what's used for requestScope variables)

Re: JSTL question: how to use variables in and

2003-07-21 Thread Michael Duffy
e appreciated. > > > >-- Oorspronkelijk bericht -- > >Reply-To: "Tag Libraries Users List" > <[EMAIL PROTECTED]> > >Date: Mon, 21 Jul 2003 05:48:39 -0700 (PDT) > >From: Michael Duffy <[EMAIL PROTECTED]> > >Subject: Re: JSTL question: how

Re: JSTL question: how to use variables in and

2003-07-21 Thread Charl Gerber
What is "rt" and "EL" tags? Any alternative suggestion would be appreciated. >-- Oorspronkelijk bericht -- >Reply-To: "Tag Libraries Users List" <[EMAIL PROTECTED]> >Date: Mon, 21 Jul 2003 05:48:39 -0700 (PDT) >From: Michael Duffy <[EMAIL

Re: JSTL question: how to use variables in and

2003-07-21 Thread Michael Duffy
I think the syntax should be "${row.ID == i}". I'm not sure that "i" can be an int in this case. Must it be an Integer? After all, that's what a ResultSet will return. Also, does this require the "rt" tags? I've always stuck with the EL stuff, so I'm not sure. --- Sandeep Takhar <[EMAIL PRO

Re: JSTL question: how to use variables in and

2003-07-21 Thread Sandeep Takhar
might be ${row.ID} == ${i} but I don't know much about syntax. Since it is a page scripting variable then you should be able to use it on the same jsp... sandeep --- Charl Gerber <[EMAIL PROTECTED]> wrote: > Hi, > > I have a question. How can I use variables declared > in other pieces of java >