Just for grins, I'm going to chime in with my two cents and see if it helps.
Ryan Lubke wrote:
> Jon Miller wrote:
>> This is off topic, but, does anyone know why it's already been like 9
>> months since JSF 1.2 came out and there still isn't a standalone
>> Apache Tomcat that it will run on (a release version)?
> This could be taken two ways.
>
> Are you wondering:
>
> A. Why JSF 1.2 doesn't work (due to its own deficiencies) on any Tomcat
JSF 1.2 depends on JSP 2.1 for a number of reasons, probably one of the
most prominent is the alignment or unification of the Expression
Language syntax used by JSF and JSP. Let me quote Mark Roth, co-spec
lead of JSP 2.1:
"Due to time-to-market considerations, Faces 1.1 was designed for JSP
1.2 and therefore could not take advantage of newer JSP features. It
also meant that JSP could not be changed to meet Faces' needs. This
resulted in a number of peculiarities, such as a different expression
language syntax and difficulty "interweaving" Faces tags with JSTL tags.
The alignment of JSP, the JavaServer Pages Standard Tag Library (JSTL),
and Faces is our primary focus in JSP 2.1. The primary theme of the J2EE
5.0 platform as a whole is ease of development. JSP 2.0 and Faces 1.1
have already made large steps towards easing development using the J2EE
web tier, but there is always more to do."
and
"To clarify, you have the option to use Faces without JSP and that will
not change going forward. JSF 1.2 will depend on the unified EL API,
which is delivered as part of the J2EE 5.0 platform. So yes, it is true
that from JSF 1.2 onward, JSF will not work with earlier versions of
JSP. This is no different than, for example, JSP 2.0 not working with
versions of Java Servlet earlier than 2.4."
You can find the complete interview at
http://java.sun.com/developer/community/chat/JavaLive/2004/jl1207.html
Tomcat 5 implements, if I recall correctly, JSP 1.2, so it just does not
offer what JSF 1.2 needs. That doesn't mean you can't use JSF 1.2 on
Tomcat (i.e., older version of the JSP spec) as Mark Roth noted.
Alternate view technologies such as Facelets lets you do just that.
Exadel has a good document on how to accomplish that:
http://blog.exadel.com/?p=23
> B. Why is it taking so long for a final release of Tomcat 6
Not being privy to the development of Tomcat 6, I really can't even
hazard a guess. I pretty sure that they have at least an alpha version
of 6 out, and it may even be a beta, but, as to the specifics of what's
taking so long, only the Tomcat crew can answer that.
Hope that helps. :)
--
jason lee, SCJP
JSF RI Dev Team
http://blogs.steeplesoft.com