struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Carlsson" <>
Subject Re: logic:present
Date Tue, 17 Dec 2002 14:55:27 GMT
Ignore my last please. I must be in need of some sleep or coffe...

Hope that I didn't make anyone work


----- Original Message -----
From: "Roland Carlsson" <>
To: "Struts Users Mailing List" <>
Sent: Tuesday, December 17, 2002 3:34 PM
Subject: logic:present

I got a small problem with finding an object in the request-scope.

In an Action I have the following line:

request.setAttribute("rdc_shop_Login_loginById", login);

Then I have a .jsp-page with the following:

<logic:present name="rdc_state_Login_loginById" scope="request">
found a Login

To verify that I actually got the object in the scope I test later in the
<% rdc_state_Login_loginById =
( request.getAttribute("rdc_shop_Login_loginById");

And it outputs:

Why doesn't logic:present find the object?

Thanks in advance
Roland Carlsson

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message