I want to do this because I need to get rid of the security constraint for this action (only this one). This action must be accessible for everyone without going trough the login page (the user should not get the login page if he clicks on this link)
So, I was thinking to solve my problem by adding another security-constraint section into web.xml.
I'm not sure if this could work. Is there a way to tell struts that the action /Card/Provisioning/Create should be /Card/Provisioning/Create.web instead of Create.do ?
I just noticed in the web.xml you posted, you have two <servlet-mapping>'s for the "action" Servlet, each defining different <url-patterns> - *.do and *.page. I suspect that is your issue (having multiple servlet-mappings for the same servlet).
Also, I do not see a <servlet> declaration for the "action" servlet; I'm not sure if you simply didn't post that, or if it is missing. One is needed. It's name (i.e. <servlet-name>) must match the value of the <servlet-mapping>. [ January 20, 2005: Message edited by: Mark Vedder ]
Joined: Nov 15, 2002
my mistake... it did a bad copy-paste everything is perfect now
thanks for your help
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com