Hi Ted,

Take a look at our archetypes at [1]. Using these archetypes with
maven, you can generate a basic hello-world jsf 2.0 project and then
just change the version of MyFaces core from 2.0.5 to 2.1.0.

Use the following maven command and then select
myfaces-archetype-helloworld20 from the options.

mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org

The generated project will run in tomcat 7 without any further configuration!

Regards,
Jakob

[1] http://myfaces.apache.org/build-tools/archetypes/

2011/6/8 Ted <[email protected]>:
> Hi I'm looking for information on how to configure myfaces 2.1.0 & tomcat7.
>
> basically I'm looking for what I need in my web.xml. I can't seem to find
> that information on the myfaces site, and I can't seem to find the example's
> that's mentioned on the site either
>
> Could some one point me to either the documentation or the examples sources
> or tell me how to configure the web.xml for myfaces 2.1.0 & tomcat 7?
>
> I'm assuming I need org.apache.myfaces.core.myfaces-api, and
> org.apache.myfaces.core.myfaces-impl, what about myfaces-impl-ee6? if I use
> that, will it use the new web fragments things? if so will it "just work" or
> do I still need to configure the web.xml?
>
> --
> Ted.
>



-- 
Jakob Korherr

blog: http://www.jakobk.com
twitter: http://twitter.com/jakobkorherr
work: http://www.irian.at

Reply via email to