Hello,

I've a problem by determining the view id when using the url '../faces'
and '../faces/' to call the web application. Is it a normal behavior of
Tobago or jsf that the determined view id null or '/' in this case? 
I got this error log "Assumed extension mapping, but there is no
extension in '/faces' or '/faces/'". In this case the
RestoreViewExecutor of Tobago tries to create the view from
ExternalContext.getRequestServletPath(). With '/faces' as
ExternalContext.getRequestServletPath() the redirection doesn't works
correctly, the redirection ignores the context path of the application.
With '/faces/' as ExternalContext.getRequestServletPath() the restoring
or creating the view doesn't works with null as view id.

By calling the application with '../faces/' i've also noticed that the
determining of ExternalContext.getRequestPathInfo() and
ExternalContext.getRequestServletPath() returns different values on
different servers (e.g tomcat and Websphere).


The application details: 

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

Libs:
tobago-core-1.0.38.jar 
myfaces-impl-1.1.9.jar 
myfaces-api-1.1.9.jar

Server:
Tomcat 6.0.18
Websphere 6.1

Regards,
Hani 

Reply via email to