users@glassfish.java.net

Re: Default Web Module and alternatedocroot_1 virtual directory problem

From: <glassfish_at_javadesktop.org>
Date: Mon, 17 Aug 2009 19:37:47 PDT

Not much to it....

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
<sun-web-app error-url="">
 <context-root>/mainsite</context-root>
  <class-loader delegate="true"/>
  <jsp-config>
    <property name="keepgenerated" value="true">
      <description>Keep a copy of the generated servlet class java code.</description>
    </property>
    <property name="alternatedocroot_1" value="from=/assets/* dir=J:/inetpub/wwwroot/prototype/"/>
  </jsp-config>
</sun-web-app>
[Message sent by forum member 'twitchman' (twitchman)]

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