Ignore my last please. I must be in need of some sleep or coffe...

Hope that I didn't make anyone work

Thanks
Roland


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


Hi!
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
</logic:present>

To verify that I actually got the object in the scope I test later in the
page:
<%
    rdc.shop.entity.Login rdc_state_Login_loginById =
(rdc.shop.entity.Login) request.getAttribute("rdc_shop_Login_loginById");
    out.println(rdc_state_Login_loginById);
%>

And it outputs: rdc.shop.entity.Login@9fdee

Why doesn't logic:present find the object?

Thanks in advance
Roland Carlsson



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

Reply via email to