|
Filter in web.xml (initialising the jsp pages)
Hi Shyam ,
I made the changes you suggested in the web.xml , but the filer still filters the welcome.jsp and redirects to the login.jsp page .
Do I need to add any code anywhere other than the web.xml (I just added the
<init-param>
<param-name>allow-without-auth</param-name>
<param-value>/welcome.jsp</param-value>
</init-param> in the web.xml )
this is my web.xml --
<filter>
<filter-name>filter</filter-name>
<filter-class>
RedirectFilter
</filter-class>
<init-param>
<param-name>allow-without-auth</param-name>
<param-value>/welcome.jsp</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>filter</filter-name>
<servlet-name>RedirectFilter</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<!-- <url-pattern>*.jsf</url-pattern> -->
</filter-mapping>
<filter-mapping>
<filter-name>filter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
----
---
Please help me solve this prob
thanks
|