pne + webdevelopment   24

Java Notepad: Publishing JSF application from behind a proxy
What to do if the URL that the browser uses is not the same as the URL that the application thinks it is found at, due to the presenve of a reverse proxy between the application and the browser.

Using a ViewHandler to modify the action URLs.

This example uses Context Init Parameters to determine what to prepend. (And similarly one could replace rather than prepending, if desired.)
JSF  JavaServerFaces  Java  webdevelopment  development  configuration  reverseproxy  ViewHandler 
february 2012 by pne
JSF behind reverse proxy « Andreas Höhmann's Weblog
What to do if the URL that the browser uses is not the same as the URL that the application thinks it is found at, due to the presenve of a reverse proxy between the application and the browser.

Using a ViewHandler to modify the action URLs.

This example uses ../ injection.
JSF  JavaServerFaces  configuration  Java  webdevelopment  development  reverseproxy  proxy  ViewHandler 
february 2012 by pne
HowToEnableEl22 - Myfaces Wiki
How to enable EL 2.2 in Tomcat 6: includes the all-important context parameter to tell Apache Myfaces which expression factory to use, and a tip on renaming the default el-api.jar away.
Tomcat  Java  JSF  EL  MyFaces  Apache  development  webdevelopment  programming 
january 2012 by pne
jsf - Using EL 2.2 with Tomcat 6.0.24 - Stack Overflow
Help on getting EL 2.2 running on Tomcat 6 - includes hints on dropping el-api-2.2 into Tomcat's lib directory and el-impl-2.2 into your own WEB_INF/lib.
JSF  EL  Tomcat  Java  development  webdevelopment  programming  from:StackOverflow 
january 2012 by pne
JSF 2.0 and Tomcat | Java.net
This article describes how to get JSF 2.0 running under Tomcat 6 - including Java EE 6 EL 2.2, which lets you (among other things) use arguments in action methods.

Note that the SNAPSHOT URLs listed in the article are a bit out of date; 2.2 final jars are available now.
JSF  EL  Tomcat  Java  programming  development  webdevelopment 
january 2012 by pne
How to pass parameters in method expression – JSF 2.0
Tomcat 6 does not support parameters in method expressions (a JSF 2.0 feature).

However, it is possible to download an implementation of EL 2.2, which then lets you use this in Tomcat.
JSF  EL  Tomcat  Java  programming  webdevelopment  development 
january 2012 by pne

Copy this bookmark:



description:


tags: