users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Mon, 05 Oct 2009 23:59:27 PDT

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>
[Message sent by forum member 'mknezic' (mladen.knezic_at_zg.t-com.hr)]

http://forums.java.net/jive/thread.jspa?messageID=366937