View Single Post
Old 04-28-2008, 05:11 AM   PM User | #5
tech99sri
New Coder

 
Join Date: Apr 2008
Posts: 17
Thanks: 10
Thanked 0 Times in 0 Posts
tech99sri is an unknown quantity at this point
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
tech99sri is offline   Reply With Quote