Since I wrote that page,
it is easy to explain
Tomcat 5.5.9 is somewhat weird,
it requires JDK 1.5 or 1.4 with some kind of compatibility pack
to run properly.
So your configuration is correct and the examples work out of the box.
The problem is, once you try to apply JDK 5.0 constructs in your code
the integrated jikes compiler begins to choke.

Which means a construct like
for(Element elemnt:collection) {
...
causes tomcat 5.5.9 to fail although it runs under JDK 5.0

The examples however do not use such constructs they are programmed
against JDK 1.4 hence it works out of the box.



Werner



[EMAIL PROTECTED] wrote:
> Hi there,
> 
> I got a question regarding the installation of MyFaces.
> I just downloaded MyFaces examples(myfaces-1.1.0-examples.zip)
> and installed one (simple.war) of examples into Tomcat 5.5.9.
> The simple.war worked well !!
> 
> But the page
> (http://wiki.apache.org/myfaces/Tomcat_5%2e5%2e9_configuration)
> indicates that I need some modifications to Tomcat 5.5.9 cofigurations
> which I didn't do at all.
> I'm using jdk1.5.0_04 and Tomcat 5.5.9 on Windows 2K.
> 
> I even modified some jsp files and confirmed that they were compiled
> well.
> 
> Why did simple.war work without modifying Tomcat 5.5.9 configurations ?
> 
> Is the page old ?
> 
> Regards,
> Wolfgang.
> 
> 
> 
> 
> 
> 
> 
> 
> __________________________________
>  For All Sports Fans!
>  http://pr.mail.yahoo.co.jp/yells/
> 
> 

Reply via email to