RE: getAttribute syntax

2004-12-15 Thread Jim Barrows
> -Original Message- > From: Jim Douglas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 15, 2004 2:38 PM > To: [EMAIL PROTECTED] > Subject: RE: getAttribute syntax > > > > This worked, > > String userName = ((LogonForm) form).getUser

RE: getAttribute syntax

2004-12-15 Thread Jim Douglas
ot; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: getAttribute syntax Date: Wed, 15 Dec 2004 12:48:50 -0700 > -Original Message- > From: Jim Douglas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 15, 2004 12:30 PM > To

RE: getAttribute syntax

2004-12-15 Thread Jim Barrows
> -Original Message- > From: Jim Douglas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 15, 2004 12:30 PM > To: [EMAIL PROTECTED] > Subject: getAttribute syntax > > > Can anyone tell me the best way to access the currently > loggoned on user >

getAttribute syntax

2004-12-15 Thread Jim Douglas
Can anyone tell me the best way to access the currently loggoned on user when needed in an application. Is this the best way to go about it? HttpSession session = request.getSession() String LogonName = session.getAttribute("userName"); Thanks, Jim ---