it inits the "infrastructure" of the jsf app (parsing faces-config ... )
http://svn.apache.org/viewcvs.cgi/myfaces/impl/trunk/src/java/org/apache/myfaces/webapp/StartupServletContextListener.java?rev=193014&view=markup take a look ;-) On 10/20/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > OK. BTW, can you briefly describe what this listener does? I've just > been blindly including it, but I don't really understand what it's > doing. > > - Brendan > > -----Original Message----- > From: Martin Marinschek [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 20, 2005 9:37 AM > To: MyFaces Discussion > Subject: Re: Myfaces under OC4J > > > No. > > if you don't use Jetty (some version) you are usually good to go, and > the listener will be included by the TLD files themselves. > > regards, > > Martin > > On 10/20/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > > So are you saying that we no longer have to define the listener in our > > web.xml file when using MyFaces? > > > > - Brendan > > > > -----Original Message----- > > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > > Sent: Thursday, October 20, 2005 2:13 AM > > To: MyFaces Discussion > > Subject: Re: Myfaces under OC4J > > > > > > sounds like your web.xml has no Context Listener defined > > <listener> > > > > > <listener-class>org.apache.myfaces.webapp.StartupServletContextListener< > > /listener-class> > > </listener> > > > > the newer versions of myfaces contains this listener inside of the > > core.tld (like the RI does). > > > > I was able to deploy MyFaces demo app in OC4J 9.0.4.0 and OC4J 9.0.4.1 > > > > More informations on deployment you'll find here: > > (Plattform Information) > > > http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/ex > > change/jsf/doc/installation.html#Platform%20Information > > > > HTH, > > Matthias > > > > > -- > > http://www.irian.at > Your JSF powerhouse - > JSF Trainings in English and German > -- Matthias Wessendorf Zülpicher Wall 12, 239 50674 Köln http://www.wessendorf.net mwessendorf-at-gmail-dot-com

