Hi
Thank you for reading my post.
there are some configuration in seam web.xml file that i can not understand.
first of all , in normal case we use a url pattern like : /faces/* for faces Servlet mapping
but in your web.xml you used *.seam
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.seam</url-pattern>
</servlet-mapping>
,
how i can configure the web.xml to works like normal jsf application ?
for example if i change the above configuration to :
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
what will seam redirect filter looks like ?
I mean , how i should change the folwoing one
<filter-name>Seam Redirect Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
<filter-mapping>
<filter-name>Seam Redirect Filter</filter-name>
<url-pattern>*.seam</url-pattern>
</filter-mapping>
You can use whatever you like here. It is not a matter of there being any "normal" JSF way. It is completely up to you what you want to use. Neither Seam nor JSF restrict you.