Re: [s2] use remoteUser with struts tags

2007-05-02 Thread Marcin Orlinski
Works: [EMAIL PROTECTED]@getRequest().getRemoteUser()} Best regards Marcin Orlinski Dave Newton-4 wrote: > > Does %{#request.remoteUser} work? > > No, it doesn't work (result null). > It works when I set attribute remoteUser in request. This is > request.getAttr

Re: [s2] use remoteUser with struts tags

2007-05-02 Thread Marcin Orlinski
Does %{#request.remoteUser} work? No, it doesn't work (result null). It works when I set attribute remoteUser in request. This is request.getAttribute("remoteUser"), no request.getRemoteUser(). Best regards Marcin Orlinski -- View this message in context: http://www.nabb

Re: [s2] use remoteUser with struts tags

2007-05-02 Thread Marcin Orlinski
.util.OgnlValueStack [http-8080-Processor24]; Caught an exception while evaluating expression 'request.getRemoteUser()' against value stack java.lang.NullPointerException: target is null for method getRemoteUser Best regards Marcin Orlinski Laurie Harper wrote: > > OGNL in S

Re: [s2] use remoteUser with struts tags

2007-04-29 Thread Marcin Orlinski
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 expression

[s2] use remoteUser with struts tags

2007-04-27 Thread Marcin Orlinski
Hello all I have a question about struts2 tags and get information from HttServletRequest. Does simple method exist to use request.getRemoteUser() and request.isUserInRole() in (for example) ? Best regards Marcin Orlinski -- View this message in context: http://www.nabble.com/-s2--use

[s2] web-container authorization problem

2007-04-27 Thread Marcin Orlinski
/logon_error.jsp logon.jsp and logon_error.jsp are a simple jsp without struts tags (but I woud like use tag). Can you tell me what is wrong ? Best regards Marcin Orlinski -- View this message in context: http://www.nabble.com/-s2--web-container-authorization-problem-tf3656226.html#a10214779 Sent