RE: OGNL and init params

2010-10-07 Thread Altenhof, David Aron
The value is accessed through the application object, so yes, this will be 
consistent:

http://struts.apache.org/2.0.11.1/docs/ognl.html

-David

-Original Message-
From: Ashlon Hill [mailto:ash...@gmail.com] 
Sent: Thursday, October 07, 2010 12:09 PM
To: Struts Users Mailing List
Subject: Re: OGNL and init params



will it always be listed as *application*?  or does that value change?



On Thu, Oct 7, 2010 at 10:23 AM, Altenhof, David Aron wrote:

> That did it ... thanks!
>
> -David
>
> -Original Message-
> From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
> Sent: Wednesday, October 06, 2010 9:49 PM
> To: Struts Users Mailing List
> Subject: Re: OGNL and init params
>
> You would be able to access through ognl or more simply inside your action.
>  ognl syntax, using implicit objects:
> 
>
> In order to get access inside your action, you have to implement 
> ApplicationAware interface.
>
> Take a look at the bottom of this page 
> http://struts.apache.org/2.0.14/docs/ognl-basics.html
>
> Maurizio Cucchiara
>
> 2010/10/6 Altenhof, David Aron :
> >
> > No matter how hard I look, I can't find the answer to this 
> > (admittedly
> newbie) question. How do you get access to the values of init 
> parameters or context parameters declared in your web.xml file in your 
> jsp page? Can they be accessed through ognl?
> >
> > A related question ... is there a good reference showing exactly 
> > what is
> in the various struts2 scopes such as session, application, etc.
> >
> > Thanks,
> >
> > David
> >
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: OGNL and init params

2010-10-07 Thread Ashlon Hill


will it always be listed as *application*?  or does that value change?



On Thu, Oct 7, 2010 at 10:23 AM, Altenhof, David Aron wrote:

> That did it ... thanks!
>
> -David
>
> -Original Message-
> From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
> Sent: Wednesday, October 06, 2010 9:49 PM
> To: Struts Users Mailing List
> Subject: Re: OGNL and init params
>
> You would be able to access through ognl or more simply inside your action.
>  ognl syntax, using implicit objects:
> 
>
> In order to get access inside your action, you have to implement
> ApplicationAware interface.
>
> Take a look at the bottom of this page
> http://struts.apache.org/2.0.14/docs/ognl-basics.html
>
> Maurizio Cucchiara
>
> 2010/10/6 Altenhof, David Aron :
> >
> > No matter how hard I look, I can't find the answer to this (admittedly
> newbie) question. How do you get access to the values of init parameters or
> context parameters declared in your web.xml file in your jsp page? Can they
> be accessed through ognl?
> >
> > A related question ... is there a good reference showing exactly what is
> in the various struts2 scopes such as session, application, etc.
> >
> > Thanks,
> >
> > David
> >
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


RE: OGNL and init params

2010-10-07 Thread Altenhof, David Aron
That did it ... thanks!

-David

-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] 
Sent: Wednesday, October 06, 2010 9:49 PM
To: Struts Users Mailing List
Subject: Re: OGNL and init params

You would be able to access through ognl or more simply inside your action.
 ognl syntax, using implicit objects:


In order to get access inside your action, you have to implement 
ApplicationAware interface.

Take a look at the bottom of this page
http://struts.apache.org/2.0.14/docs/ognl-basics.html

Maurizio Cucchiara

2010/10/6 Altenhof, David Aron :
>
> No matter how hard I look, I can't find the answer to this (admittedly 
> newbie) question. How do you get access to the values of init parameters or 
> context parameters declared in your web.xml file in your jsp page? Can they 
> be accessed through ognl?
>
> A related question ... is there a good reference showing exactly what is in 
> the various struts2 scopes such as session, application, etc.
>
> Thanks,
>
> David
>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: OGNL and init params

2010-10-06 Thread Maurizio Cucchiara
You would be able to access through ognl or more simply inside your action.
 ognl syntax, using implicit objects:


In order to get access inside your action, you have to implement
ApplicationAware interface.

Take a look at the bottom of this page
http://struts.apache.org/2.0.14/docs/ognl-basics.html

Maurizio Cucchiara

2010/10/6 Altenhof, David Aron :
>
> No matter how hard I look, I can't find the answer to this (admittedly 
> newbie) question. How do you get access to the values of init parameters or 
> context parameters declared in your web.xml file in your jsp page? Can they 
> be accessed through ognl?
>
> A related question ... is there a good reference showing exactly what is in 
> the various struts2 scopes such as session, application, etc.
>
> Thanks,
>
> David
>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



OGNL and init params

2010-10-06 Thread Altenhof, David Aron

No matter how hard I look, I can't find the answer to this (admittedly newbie) 
question. How do you get access to the values of init parameters or context 
parameters declared in your web.xml file in your jsp page? Can they be accessed 
through ognl?

A related question ... is there a good reference showing exactly what is in the 
various struts2 scopes such as session, application, etc.

Thanks,

David