struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nagesh.kumar" <>
Subject RE: Question about Filter Mapping
Date Wed, 13 Dec 2006 03:28:06 GMT
Remove this ".do?function=list"   from the url mapping and try once  
I think its possible


-----Original Message-----
From: Chetan Pandey [] 
Sent: Wednesday, December 13, 2006 8:50 AM
To: 'Struts Users Mailing List'
Subject: Question about Filter Mapping

Hi All:


I have written a Filter AuthFilter for my Struts App.


I am doing the following mapping.












But the Filter is never entered as Debug statements are not printed.


The following is how my Action is mapped in struts-config.xml


<action path="/manageEvent"


                  parameter="function" name="eventForm" scope="session"

                  validate="false" input="/setupResponse/eventList.jsp">

                  <forward name="manage"

                        path="/setupResponse/manageEvent.jsp" />

                  <forward name="confirm"

path="/setupResponse/manageEventConfirmationPage.jsp" />

                  <forward name="eventPreview"

path="/setupResponse/manageEventConfirmationPage.jsp" />

                  <forward name="questionnaire"

                        path="/" />

                  <forward name="success"

                        path="/setupResponse/setupResponseMessage.jsp" />

                  <forward name="list"

                        path="/setupResponse/eventsList.jsp" />

                  <forward name="report"

                        path="/setupResponse/eventDetailReport.jsp" />



I want to know what should be the correct URL-Mapping so that when the page
is clicked for access rights are checked via
the Auth Filter.


Any help is appreciated.







To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message