I have a war file that I have developed a GWT front end and a Restlet Router on 
the backend. The problem that I am running into is that in order to use this as 
a servlet I need to make the web.xml file point to "/*" for the URL mapping. 
When I do this, the welcome or landing page does not show up. Is there anyone 
who can tell me why my welcome page is not showing up from the web.xml code 
below?



<?xml version="1.0" encoding="UTF-8"?>
<web-app>
        <context-param>
                <param-name>org.restlet.clients</param-name>
                <param-value>CLAP FILE WAR</param-value>
        </context-param>

        <servlet>
                <servlet-name>adapter</servlet-name>
                <servlet-class>org.restlet.ext.gwt.GwtShellServletWrapper
                </servlet-class>
                <init-param>
                        <param-name>org.restlet.application</param-name>
                        
<param-value>org.byu.sigcard.transaction.service.com.server.RequestRouter
                        </param-value>
                </init-param>
        </servlet>
        
        <servlet-mapping>
                <servlet-name>adapter</servlet-name>
                <url-pattern>/*</url-pattern>
        </servlet-mapping>
        
                <!-- Default page to serve -->
        <welcome-file-list>
                <welcome-file>BYU_Signature_Card_Web_Transaction_Service.html
                </welcome-file>
        </welcome-file-list>

        
        
</web-app>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2840013

Reply via email to