[opencms-dev] OpenCMS + MyFaces

Hossfeld, Felix Felix.Hossfeld at bonprix.net
Wed May 31 13:55:46 CEST 2006


> You have two
> servlets: OpenCmsServlet and FacesServlet. AFAIK, currently 
> if your request is in OpenCmsServlet, you cannot make it also 
> in FacesServlet; neither vice versa.

Of course you can if you use a prefix mapping. Just use /<webcontext>/faces/opencms/<path within vfs> and it should work. 

However, you cannot use the "*.jsf"-mapping because a prefix mapping takes precedence over an extension mapping. So any /opencms will win over *.jsf". Please see the servlet specification for details.

Regards

Felix Hoßfeld




More information about the opencms-dev mailing list