do not work when placed as the value for the name
> attribute of the above tag.
>
> Since I could not get a Struts 2 tag or OGNL expression to work for the name
> attribute in the JSecurity hasAnyRoles tag, I used expression language,
> which did work.
>
> I'm try
name
attribute in the JSecurity hasAnyRoles tag, I used expression language,
which did work.
I'm trying to determine if using EL to access a property of the
ActionSupport class is OK in Struts 2.
Thanks again for the suggestions.
Bruce
--
View this message in context:
http://www.nabbl
n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Mon, 4 May 2009 11:00:36 -0700
> From: bphill...@ku.edu
> To: user@st
d using:
But that did not work even though we have a public method named getRoles in
the action support class that renders this jsp page.
So just for a test we tried using expression language (EL):
And the above worked just fine.
I didn't know you could access properties of the Actio
That works. Thanks.
From: Dave Newton
To: Struts Users Mailing List
Sent: Friday, January 16, 2009 3:09:31 PM
Subject: Re: S2.1 - struts tags vs jstl expression language
Norris Shelton wrote:
> I assumed that I had to use the struts tags. I noticed t
Norris Shelton wrote:
I assumed that I had to use the struts tags. I noticed that my
> older ${} worked for my objects. Is there a compelling reason
> to use the longer struts tags instead of JSTL EL?
Typing practice for the angle brackets?
The S2 request wrapper will map the EL requests to
I assumed that I had to use the struts tags. I noticed that my older ${}
worked for my objects. Is there a compelling reason to use the longer struts
tags instead of JSTL EL?
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisES
detailed table reference,
> source
> code samples or source code implementations about the expression language?
>
>
> Thanks in advance,
> best regards.
>
> --
> View this message in context:
> http://www.nabble.com/Help-on-expression-language-tf4538542.html#a12953443
Hi,
time ago I bookmarked a detailed table reference about EL, but now I lost
this bookmark :super: . So, where to find detailed table reference, source
code samples or source code implementations about the expression language?
Thanks in advance,
best regards.
--
View this message in
7 05:20, wrote:
>> That just sounds ridiculous. Because of the possibility of end users
>> injecting malicious OGNL we won't be able to use JSP expression language.
>>
>> Pardon me for being blunt but isn't the obvious solution to fix the
>> underlying vuln
NO!
> - Original Message -
> From: "Adam Hardy" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Subject: Re: Using JSTL Expression Language with Struts 2 tags
> Date: Fri, 07 Sep 2007 00:42:11 +0100
>
>
> Is OGNL a standard
Chris Pratt on 07/09/07 00:45, wrote:
On 9/6/07, Adam Hardy <[EMAIL PROTECTED]> wrote:
Is OGNL a standard as well as JSTL?
Depends what you mean by a standard? It comes standard with Struts 2,
but it was not defined by some standards organization.
Sorry, for the bad question. I'll check it
On 9/6/07, Adam Hardy <[EMAIL PROTECTED]> wrote:
> Is OGNL a standard as well as JSTL?
>
Depends what you mean by a standard? It comes standard with Struts 2,
but it was not defined by some standards organization.
(*Chris*)
-
ling
List" Subject: Re: Using JSTL Expression Language with Struts 2 tags Date:
Thu, 6 Sep 2007 13:37:39 -0700
I am not Zoran but
I tried for a few weeks to use OGNL but everytime I tried to type an OGNL
expression it took me 3 or 4 attempts to make it do what I wanted. In every
c
standards. (And I haven't even tried JSP 2.1 syntax yet).
As it stands, this is a TERRIBLE shortcoming in S2.
- Ray Clough
- Original Message -
From: "Kevin Lawrence"
To: "Struts Users Mailing List"
Subject: Re: Using JSTL Expression Language with Struts 2
f the possibility of end users
> > injecting malicious OGNL we won't be able to use JSP expression
> language.
> >
>
Zoran Avtarovski on 06/09/07 05:20, wrote:
That just sounds ridiculous. Because of the possibility of end users
injecting malicious OGNL we won't be able to use JSP expression language.
Pardon me for being blunt but isn't the obvious solution to fix the
underlying vulnerability in OGNL r
That just sounds ridiculous. Because of the possibility of end users
injecting malicious OGNL we won't be able to use JSP expression language.
Pardon me for being blunt but isn't the obvious solution to fix the
underlying vulnerability in OGNL rather than crippling JSP and Freemar
TED]> sent:
>Hi
>
>
>
>Is there a way to use the JSTL Expression Language with Struts 2 tags
>
>instead of OGNL?
>
>
>
>Regards,
>
>
>
>Néstor Boscán
>
-
To unsubscribe, e-m
Hi
Is there a way to use the JSTL Expression Language with Struts 2 tags
instead of OGNL?
Regards,
Néstor Boscán
On 3/23/06, David M Sledge <[EMAIL PROTECTED]> wrote:
> Do EL expressions only evaluate to String and primitive types? I have code
> similar to the following in my jsp.
>
>
>
>
>
I will assume thats bean:write.
>
>
>
> Where uriList is an object of type java.util.List only containing
> jav
Do EL expressions only evaluate to String and primitive types? I have code
similar to the following in my jsp.
Where uriList is an object of type java.util.List only containing
java.net.URI objects, and where uriValueMap has only java.net.URI objects as
keys and has for values objec
The text as is from JSP 2.0 Spec
Point 1.
EL expression An element in a JSP page representing an expression to be
parsed
and evaluated via the JSP Expression Language. Syntactically it is delimited
by the ${ and } characters.
Point 2.
JSP.2.3.5.5 Relational Operators
The relational operators
On 3/16/06, Morten Andersen <[EMAIL PROTECTED]> wrote:
> I want to use JSTL to check the role of the user (it can be one of many)
>
> I'm new to JSTL so even the simplest things gives me problems:
>
> I've set the role using request.setAttribute("role" , role);
>
> This tag:
>
>
> Prints out the r
Morten Andersen wrote:
I want to use JSTL to check the role of the user (it can be one of many)
I'm new to JSTL so even the simplest things gives me problems:
I've set the role using request.setAttribute("role" , role);
This tag:
Prints out the role fine
While the following statements are
I want to use JSTL to check the role of the user (it can be one of many)
I'm new to JSTL so even the simplest things gives me problems:
I've set the role using request.setAttribute("role" , role);
This tag:
Prints out the role fine
While the following statements are newer true:
t; <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, February 23, 2006 2:26 PM
Subject: Re: Off Topic Expression Language question
is it always the same object (class) and the same method you are
calling? In this case I'd suggest you write a three-line custom tag
fo
is it always the same object (class) and the same method you are
calling? In this case I'd suggest you write a three-line custom tag
for it. If you have to do it more often, maybe a tag using reflection
api would be an answer. I you write one, let me know, I may need one
too :-)
regards
Leon
On 2
Hi All,
Appologies for the off topic posting. Does anyone Know how I can access a
bean property that takes a parameter using EL.
For example if in a bean I have define a name property with public String
getName(){return name;}
I can access this with EL
${mybean.name}
But suppose in my bea
Ok. Now I know it was in the contrib directory.
Thanks,
Ibha
> -Original Message-
> From: Ibha Gandhi [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 03, 2005 5:22 PM
> To: 'Struts Users Mailing List'
> Subject: Newbie Q - Struts expression language taglibs
>
Take a look into the contrib/struts-el/lib folder !
Nico.
Ibha Gandhi a écrit :
Hi All,
From where can I download struts el tag libraries.
I downloaded jakarta-struts-1.2.4.zip, but it does
not contain struts-html-el tag libraries
Thanks,
Ibha
-
Hi All,
>From where can I download struts el tag libraries.
I downloaded jakarta-struts-1.2.4.zip, but it does
not contain struts-html-el tag libraries
Thanks,
Ibha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
I don't think you're using the set tag properly.
Try:
hope it helps,
Anna Kerekes
From: Pedro Salgado [mailto:[EMAIL PROTECTED]
Sent: Mon 20/09/2004 1:15 PM
To: Struts Users List
Subject: standard-1.1.1 expression language not working
Hi t
Hi to everyone!
I have already used taglibs before but I am having some trouble making
jstl core 1.1.1 taglib to evaluate expression languages on Tomcat 5.0.27.
I have all of the required libraries on WEB-INF/lib/ (jstl, standard,
jdbc_2_0_stdext, xalan and xerces).
Tomcat does not give any
ting the props string and
failing... Hope it didn't make your night much later.
Rgds,
John
-Original Message-
From: Bill Siggelkow [mailto:[EMAIL PROTECTED]
Sent: 02 July 2004 04:49
To: [EMAIL PROTECTED]
Subject: Re: Map backed ActionForm, and jstl expression language
John, I
John, I apologize -- it' late and I am tired but I was having a little
trouble following your post ... however, if you have a map-backed form
(property) that you want to expose to JSTL you will need to expose the
Map itself in a getter.
Map getValuesMap() { return values; }
Then you can access
Hi all,
Any help on the following problem would be most appreciated.
What i am trying to do is produce a report of data in tabular form with filters that
will reduce the report set. There can be 100's of different reports but by passing in
a report id to a database the query, filters, columns a
> Sorry this is not directly related to Struts, but
> is it possible to use the expression language in
> custom tags?
Check org.apache.strutsel.taglib.utils.EvalHelper
That's the class used to evaluate the expressions
in struts-el tags (in version 1.1 anyway).
Looks like it
our base
library, and have the "lib-el" library just deal with expression
evaluation. This is exactly how the Struts-EL library is structured.
-Original Message-
From: Chan, Jim [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 4:08 PM
To: '[EMAIL PROTECTED]'
S
At 4:07 PM -0800 3/26/04, Chan, Jim wrote:
Sorry this is not directly related to Struts, but is it possible to use the
expression language in custom tags? I think you can, but I am not quite
sure how to do it. Do you get this for free by just upgrading to a JSP 2.0
compliant server? Or do I
rName,
attrVal,
String.class,
this,
pageContext);
}
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 4:33 PM
To: Struts Users Mailing List
Subject: Re: Use JSP Expression Language in custom
I'm not using JSP 2.0, but I believe you can only use expression language
with standard tags supplied (JSTL).
Someone has created "expression language" enabled versions of the standard
Struts tags which are currently in the "contrib" area. Why not look at how
the standard
42 matches
Mail list logo