description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error matching patterns
at org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:141)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
I guess this is because all *.do are filtered... How could I do this? I need to go through an action because my application runs on a framework developed on top of struts.
I have tried with <form-error-page>/login.do?error=true</form-error-page> but i get the same error.
Any suggestion?
Thanks in advance.
nacho
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have configured the securityfilter to work with my struts and org.apache.catalina.realm.JDBCRealm.
I have a problem with the <form-error-page>.
I can not use the following:
<form-login-page/login.do</form-login-page>
<form-error-page>/errorLogin.do</form-error-page>
I must use a ".jsp" for the error page. Otherwise I get the :
HTTP Status 500 - Internal Server Error
--------------------------------------------------------------------------------
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error matching patterns
at org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:141)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
I guess this is because all *.do are filtered... How could I do this? I need to go through an action because my application runs on a framework developed on top of struts.
I have tried with <form-error-page>/login.do?error=true</form-error-page> but i get the same error.
Any suggestion?
Thanks in advance.
nacho
The simple way is to go to "errorLogin.jsp" which server redirects to "/errorLogin.do".