Thanks Simon,
The exact error I get, is:
/resources/pages/fileNotFound.xhtml: Property 'javax.servlet.error.request_uri' not found on type org.apache.catalina.core.ApplicationHttpRequest javax.el.ELException: /resources/pages/fileNotFound.xhtml: Property 'javax.servlet.error.request_uri' not found on type org.apache.catalina.core.ApplicationHttpRequest at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48) at com .sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java: 39)
        at com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:246)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java: 577) at javax .faces .application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:45) at org .apache .myfaces .trinidadinternal .application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176) at org .apache .myfaces .lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java: 41) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java: 132)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
at org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) at org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org .apache .catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java: 654) at org .apache .catalina .core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java: 447) at org .apache .catalina .core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) at org .apache .catalina .core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) at org .apache.catalina.core.StandardHostValve.custom(StandardHostValve.java: 424) at org .apache.catalina.core.StandardHostValve.status(StandardHostValve.java: 343) at org .apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 144) at org .apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 104) at org .apache .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 261) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 844) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.process(Http11Protocol.java:581) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: 447)
        at java.lang.Thread.run(Thread.java:613)

... That "javax.servlet.error.message" is on the RequestMap when an error occures, was found in posting from Craigh M himself. (MF Mailing list with topic "Re: catch FacesException" - d.d. Sat 18 Feb 2006 20:05:11 GMT+01:00)

--Wolf
_____________

[Hmm..if the code
 requestMap.get("javax.servlet.error.message")
works, then I would have really expected
 #{request['javax.servlet.error.message']}
to work too.

Is it really the case that the first works, but the second does not?

If the first doesn't work, then that is just a Facelets issue that you
need to follow up on the facelets list..

Regards,

Simon]


Reply via email to