P
Pavel
Greetings to all -
How could I have two groups of struts actions in the same application
so the actions in the first group require the container based
authorization and actions in the second group do not ?
According to http://jakarta.apache.org/struts/userGuide/configuration.html
I can use either prefix matching or extension matching:
5.4.2 Configure the Action Servlet Mapping
WARNING - Struts will not operate correctly if you define more than
one <servlet-mapping> element for the controller servlet.
In my web.xml I could not specify 'exception' url-pattern either:
<security-constraint>
<web-resource-collection>
<url-pattern>*.do</url-pattern>
<url-pattern>/jsp/*</url-pattern>
</web-resource-collection>
</security-constraint>
If struts would support multiple servlet-mapping then I could use
/do/* for my unrestricted actions. Can I have different url mapping
for different struts modules ?
The only work around that comes to mind so far is to create servlets
outside of struts framework instead of actions in one of two groups.
Any ideas are greatly appreciated.
Thanks
Pavel
How could I have two groups of struts actions in the same application
so the actions in the first group require the container based
authorization and actions in the second group do not ?
According to http://jakarta.apache.org/struts/userGuide/configuration.html
I can use either prefix matching or extension matching:
5.4.2 Configure the Action Servlet Mapping
WARNING - Struts will not operate correctly if you define more than
one <servlet-mapping> element for the controller servlet.
In my web.xml I could not specify 'exception' url-pattern either:
<security-constraint>
<web-resource-collection>
<url-pattern>*.do</url-pattern>
<url-pattern>/jsp/*</url-pattern>
</web-resource-collection>
</security-constraint>
If struts would support multiple servlet-mapping then I could use
/do/* for my unrestricted actions. Can I have different url mapping
for different struts modules ?
The only work around that comes to mind so far is to create servlets
outside of struts framework instead of actions in one of two groups.
Any ideas are greatly appreciated.
Thanks
Pavel