[jboss-user] [JBoss Seam] - Re: Faces context not found. getResponseWriter will fail.

mickknutson do-not-reply at jboss.com
Wed Oct 25 16:54:48 EDT 2006


"gavin.king at jboss.com" wrote : You have to go to URL of the form:
  | 
  | http://localhost:8080/myapp/foo.jsf
  | 
  | Not:
  | 
  | http://localhost:8080/myapp/foo.jsp
  | 
  | This is a standard JSF thing.
  | 

Why must I use:
 <servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>



can't I just define:

    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>


and reference 

http://localhost:8080/myapp/faces/foo.jsp 

I have it with /faces/* and I get this error


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980839#3980839

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980839



More information about the jboss-user mailing list