struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navjot Singh" <navjo...@net4india.net>
Subject RE: Is it possible to get the ActionMapping object in a filter ?
Date Fri, 18 Jul 2003 07:47:02 GMT
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:apatil@vertex.co.in]
|Sent: Friday, July 18, 2003 1:20 PM
|To: struts-user@jakarta.apache.org
|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: struts-user-unsubscribe@jakarta.apache.org
|For additional commands, e-mail: struts-user-help@jakarta.apache.org
|
|


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message