Hi,

My first test with MyFaces becomes a little bit frustrating.

Lets tell you my experience:
My Environment:
 JDK 1.5.0_01
 Tomcat 5.5.4
 JSTL (Jakarta taglibs standard 1.1.2)

I have tried to follow the instructions in http://www.myfaces.org/ "Getting started". The result after completing the steps under "Installing and Running the Examples"
wasn't realy amusing:


   * A new Webapp myfaces-examples exist in the Manager utility.
   * There were three INFO trace messages in the logs (No WARN or ERROR).
   * The access to the URL http://localhost:8080/myfaces-examples
     results (after some compiling delay) in a blank browser window.


The analysis of the HTTP header responsed from the Server shows a response with Content-Length: 0.
Static HTML pages will be displayed.
A simple JSP page without any faces stuff responses Content-Length: 0.


This behaviour will be seen because the JSTL 1.1 resides in shared/lib directory
and myFaces comes with an incompatible JSTL Version in WEB-INF/lib.


The solution:
Deleting jstl.jsr and jsp2.0.jar from WEB-INF/lib directory and all works fine.


IMO the comming releases of MyFaces should omit the distribution of JSTL libs to prevent described behaviour.

Thanks,
Gerhard



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 06.01.2005



Reply via email to