use the struts bean tag to get your form.. it will search all layers of the session.
JMG ----- Original Message ----- From: "AshokD" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 03, 2003 12:23 PM Subject: Centralized Way of Acessing the Form Bean Hi, I have a Session, Request scope beans in my Application. To acess Session Scope component I am using below logic: LoginForm lLoginForm = (LoginForm )session.getAttribute("formName"); To acess Request Scope component I am using below logic: NewLoginForm lNewLoginForm = (NewLoginForm )request.getAttribute("formName"); If i change the scope in configuration(strut-config.xml) I need to change my Action classes also (where ever I am acessing the form). Their is any centralized Way of acessing the Form Bean is their ? like: Acessing all beans from request instead of session and request. Thanks in Advance, Ashok.D --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]