Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 46134 invoked from network); 19 Jul 2007 17:24:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jul 2007 17:24:03 -0000 Received: (qmail 62092 invoked by uid 500); 19 Jul 2007 17:23:33 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 62044 invoked by uid 500); 19 Jul 2007 17:23:33 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 62033 invoked by uid 99); 19 Jul 2007 17:23:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 10:23:33 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of francisco.passos@gmail.com designates 64.233.184.226 as permitted sender) Received: from [64.233.184.226] (HELO wr-out-0506.google.com) (64.233.184.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 10:23:29 -0700 Received: by wr-out-0506.google.com with SMTP id 76so522676wra for ; Thu, 19 Jul 2007 10:23:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=mF5Y1f4iVTHIGvxNxSyyp2wJiCKOy9LDv6vAbORRIvk11fweTv7nieVZedyLoCJAJitEadRq065tNnDEZT+ny0tXSR5Eb1s+qvgNxWlRlvZwF2fir3vSqgAjIHMZttbxU7pSo33gj0NYkXa+IA66d65raV5cilurQ6bOoZxwqVY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=VrY3Tk6vSIyUNz7K1K3VZ+LVaIaFyMkyWigaFkzWbEGamyB3iGQzzEAUxUNH3Q7hsIPrVSQ2VYMaXqwaZ/xfoxhmqHM97TTE/ymeZNahL9FKFGV5QAdD860NIRL4CBf58kku5fycfWVy/2gWNXVxX+RpAUFar28tpe4ct49Ygko= Received: by 10.90.91.14 with SMTP id o14mr3136733agb.1184865788728; Thu, 19 Jul 2007 10:23:08 -0700 (PDT) Received: by 10.90.26.13 with HTTP; Thu, 19 Jul 2007 10:23:08 -0700 (PDT) Message-ID: Date: Thu, 19 Jul 2007 18:23:08 +0100 From: "Francisco Passos" To: "MyFaces Discussion" Subject: Re: Does MyFaces 1.2 require JSP 2.1? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_78087_24979803.1184865788688" References: <11693501.post@talk.nabble.com> <11693503.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_78087_24979803.1184865788688 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I've had the same problem using Facelets on Weblogic 9.2, which does not support JSP 2.1. Simon, the fact that both JSP 2.1 and JSF 1.2 use the unified EL does not mean that JSP 2.1 and JSF 1.2 must always come together. What it means is that the pairs JSP 2.1/unified EL and JSF 1.2/unified EL must come together by themselves. There might be some dependency there though, which is bad news for those who are limited to a non-JSP 2.1compliant application server and would like to use JSF 1.2. On 7/19/07, Andrew Robinson wrote: > > JSF 1.2 requires JSP 2.1 unless you use facelets. > > I believe you have to run Tomcat 6 as a minimum version (servlet 2.5 > support is required) > > On 7/19/07, mraible wrote: > > > > I should mention: I get the error below on startup when deploying on > Tomcat > > 5.0.25. If I change from MyFaces to Sun's RI and deploy on Tomcat 5.0.25 > > again, no error. > > > > Matt > > > > > > mraible wrote: > > > > > > From what I can tell, MyFaces 1.2 requires JSP 2.1. I developed a > quick > > > prototype using MyFaces 1.2 + Facelets 1.1.13 and I get the following > > > error on startup: > > > > > > Exception sending context initialized event to listener instance of > class > > > org.apache.myfaces.webapp.StartupServletContextListener > > > java.lang.NoSuchMethodError: > > > javax.servlet.jsp.JspFactory.getJspApplicationContext > (Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; > > > at > > > org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces( > DefaultFacesInitializer.java:102) > > > at > > > > org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized > (StartupServletContextListener.java:57) > > > > > > If I deploy my app to Tomcat 6, this problem doesn't exist. If I > change > > > from MyFaces 1.2 to Sun's RI 1.2_04, this problem doesn't exist > either. > > > For this reason, it appears to me that MyFaces 1.2 requires JSP 2.1. > > > > > > Cheers, > > > > > > Matt > > > > > > > -- > > View this message in context: > http://www.nabble.com/Does-MyFaces-1.2-require-JSP-2.1--tf4112432.html#a11693503 > > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > > > ------=_Part_78087_24979803.1184865788688 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I've had the same problem using Facelets on Weblogic 9.2, which does not support JSP 2.1.

Simon, the fact that both JSP 2.1 and JSF 1.2 use the unified EL does not mean that JSP 2.1 and JSF 1.2 must always come together.

What it means is that the pairs JSP 2.1/unified EL and JSF 1.2/unified EL must come together by themselves. There might be some dependency there though, which is bad news for those who are limited to a non-JSP 2.1 compliant application server and would like to use JSF 1.2.

On 7/19/07, Andrew Robinson <andrew.rw.robinson@gmail.com > wrote:
JSF 1.2 requires JSP 2.1 unless you use facelets.

I believe you have to run Tomcat 6 as a minimum version (servlet 2.5
support is required)

On 7/19/07, mraible <matt@raibledesigns.com> wrote:
>
> I should mention: I get the error below on startup when deploying on Tomcat
> 5.0.25. If I change from MyFaces to Sun's RI and deploy on Tomcat 5.0.25
> again, no error.
>
> Matt
>
>
> mraible wrote:
> >
> > From what I can tell, MyFaces 1.2 requires JSP 2.1. I developed a quick
> > prototype using MyFaces 1.2 + Facelets 1.1.13 and I get the following
> > error on startup:
> >
> > Exception sending context initialized event to listener instance of class
> > org.apache.myfaces.webapp.StartupServletContextListener
> > java.lang.NoSuchMethodError:
> > javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
> >         at
> > org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:102)
> >         at
> > org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized (StartupServletContextListener.java:57)
> >
> > If I deploy my app to Tomcat 6, this problem doesn't exist. If I change
> > from MyFaces 1.2 to Sun's RI 1.2_04, this problem doesn't exist either.
> > For this reason, it appears to me that MyFaces 1.2 requires JSP 2.1.
> >
> > Cheers,
> >
> > Matt
> >
>
> --
> View this message in context: http://www.nabble.com/Does-MyFaces-1.2-require-JSP-2.1--tf4112432.html#a11693503
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

------=_Part_78087_24979803.1184865788688--