Why did you disabled EL and how did you do that?
You can use EL with OGNL. OGNL works only with things in its stack, and I'm
not sure about how get things from outside its stack, e.g. Session, Request,
Context or even Page. To get these values, the best way is use EL.
I can't see any reason to don't use EL.

Regards,

Felipe


Marcin Orlinski wrote:
> 
> Hello
> 
> I have problem only in JSP. I have disabled EL and I tried use OGNL. Can
> you give me example how to get this information ?
> 
> Best regards.
> Marcin OrliƄski
> 
> 
> Felipe Rodrigues wrote:
>> 
>> Well,
>> 
>> If you're in a JSP, you can get it direct from the request, even using EL
>> or using expressions.
>> If you're in a action you may want take a look at the documentation.
>> Specific in the part of FAQ -> How To.
>> You'll find that you can get the request object by implementing the
>> interface ServletRequestAware or using the code
>> ActionContext.getContext().getRequest().
>> 
>> Using the interface is a better approach. Make your choice. :-)
>> 
>> Regards,
>> 
>> Felipe
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-s2--use-remoteUser-with-struts-tags-tf3656482.html#a10253680
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to