still no go..
my directory structure is this
/admin/Home.html ("Admin" in h1 and title)
/browse/Home.html ("Browse" in h1 and title)
/WEB-INF/admin/Home.page
/WEB-INF/browse/Home.page
both contains the same thing

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE page-specification PUBLIC
   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
<page-specification class="org.apache.tapestry.html.BasePage">
</page-specification>

/WEB-INF/web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
        xmlns="http://java.sun.com/xml/ns/j2ee";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
        <display-name>multiapp</display-name>
        <welcome-file-list>
                <welcome-file>index.html</welcome-file>
                <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
        <servlet>
                <servlet-name>browse</servlet-name>
                <servlet-class>
                        org.apache.tapestry.ApplicationServlet
                </servlet-class>
                <load-on-startup>0</load-on-startup>
        </servlet>
        <servlet>
                <servlet-name>admin</servlet-name>
                <servlet-class>
                        org.apache.tapestry.ApplicationServlet
                </servlet-class>
                <load-on-startup>0</load-on-startup>
        </servlet>
        <servlet-mapping>
                <servlet-name>browse</servlet-name>
                <url-pattern>/browse/app</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
                <servlet-name>admin</servlet-name>
                <url-pattern>/admin/app</url-pattern>
        </servlet-mapping>
</web-app>
and
finally
/Home.html (contains "BAD BAD BAD" in h1 and title)

and the url
http://localhost:8080/multiapp/admin/app
shows me "BAD BAD BAD"
i'm stumped.
can anyone send me a sample of a working war for mutiple application
in a single war

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to