Hi,

Do you mean that you want to display one image if the user is logged in and a different image if the user is not logged in?

Exactly. <%=request.getRemoteUser()%> is null when the user ist not loged in. If so <%=request.getRemoteUser()%> gives me the string of the username.


IÂm looking for something like this:
<logic:Empty name='request' property='remoteUser'> //does not work !
        <img src='/pics/notLogedIn.gif'/>
</logic:Empty>
<logic:NotEmpty name='request' property='remoteUser'> //does not work !
        <img src='/pics/LogedIn.gif'/>
</logic:NotEmpty>

JSPÂs have easy access to the implicit objects like the request. There must be a counterpart in struts taglibs or am i wrong ???

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



Reply via email to