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
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
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
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
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
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
#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
;?
>-- 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:
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)
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
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
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
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
>
13 matches
Mail list logo