initializing ActionForm from a session bean

2003-08-07 Thread David Thielen
Hi;

If I want to initialize an ActionForm from a session bean, what's the correct way.

Looking at it it seems to me that I want to tie the session bean to the session. 
However, reset passes a ServletRequest instead of a HttpServletRequest so there is no 
way to get the session to do a getAttribute().

Am I missing something?

thanks - dave

Re: initializing ActionForm from a session bean

2003-08-10 Thread David Thielen
I'm a moron - I found the overloaded method with HttpServletRequest.

So, is the way to tie to a session bean to do a
HttpServletRequest.getSession().get/setAttribute()?

thanks - dave


- Original Message - 
From: "David Thielen" <[EMAIL PROTECTED]>
To: "Struts-Users" <[EMAIL PROTECTED]>
Sent: Thursday, August 07, 2003 11:51 AM
Subject: initializing ActionForm from a session bean


Hi;

If I want to initialize an ActionForm from a session bean, what's the
correct way.

Looking at it it seems to me that I want to tie the session bean to the
session. However, reset passes a ServletRequest instead of a
HttpServletRequest so there is no way to get the session to do a
getAttribute().

Am I missing something?

thanks - dave


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