ActionMappings are initialised at startup surely and available from the servlet context?
-----Original Message----- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Friday, 18 July 2003 15:47 To: Struts Users Mailing List Subject: RE: Is it possible to get the ActionMapping object in a filter ? correct me if i am wrong The filter servlet is hit before the request reaches the main servlet - ActionServlet in struts case. As the request has not even reached ActionServlet, ActionMapping object has not been initialized as of now. so, you CANNOT have Mapping object in filter navjot |-----Original Message----- |From: Ajay Patil [mailto:[EMAIL PROTECTED] |Sent: Friday, July 18, 2003 1:20 PM |To: [EMAIL PROTECTED] |Subject: Is it possible to get the ActionMapping object in a filter ? | | |Hi, | |Is it possible to retrieve the Action mapping object in the Filter |class ? | |To describe further, I am writing the filter (as per Servlet 2.3) to |authenticate the Strut actions and was wondering if I could get |the roles for the action triggered. I think Struts 1.1 allows for |roles to be stored in the ActionMapping. | |Thanks in advance, |Ajay | | |--------------------------------------------------------------------- |To unsubscribe, e-mail: [EMAIL PROTECTED] |For additional commands, e-mail: [EMAIL PROTECTED] | | --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]