users@glassfish.java.net

Re: Include later version of JSF in my WAR file?

From: Ed Hillmann <ed.hillmann_at_gmail.com>
Date: Wed, 7 Oct 2009 08:24:03 +1000

On Tue, Oct 6, 2009 at 4:59 PM, <glassfish_at_javadesktop.org> wrote:

> you need to add sun-web.xml to your WEB-INF folder inside WAR file.
> inside sun-web.xml set useBundledJsf to true, like this
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!--
> Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
> Use is subject to license terms.
> -->
>
> <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application
> Server 8.1 Servlet 2.4//EN" "
> http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd">
> <sun-web-app>
>
> <class-loader delegate="false"/>
> <property name="useBundledJsf" value="true"/>
> </sun-web-app>
>

Perfect! We've already got a sun-web.xml in our WAR file. So I'll update
it so I can include the bundled JSF implementation.

Thanks heaps!
Ed