We do this in our web app. We have a config xml with all our functional categories defined. All these categories are accessed from the webapp using a menu. We have a second config file that defines all the users/roles. Each role is assigned to one or more functional categories. When user logs in, the assigned role is loaded ( ie the javascript menu is built according to the role ) using a filter, and saved in session.
Thanks -- pady [EMAIL PROTECTED] -----Original Message----- From: as as [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:00 AM To: [EMAIL PROTECTED] Subject: Struts/filters Hi, Has anyone tried filters framework (<filter> tag in web.xml) in struts for role based access to webpages in a enterprise wide application...deployed in weblogic...we tried this and seems each sub-application needs a differenet, its own web.xml and a single integrated web.xml.. Any workarounds... Thanks, Sam. (Basically, in our lare web app, we want to allow different users (admin, user, etc) access to different pages (password reset, etc) based on his privileges.... Thanks! ( I am quoting below. http://info.borland.com/techpubs/jbuilder/jbuilder8/webapps/webapp_dd_editor .html#filters that i did find some related info, though) Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

