0

i have the domain www.desiem.com available. The problem is when charge my MENU.WAR in tomcat of my hosting, I proceed to call my page, writing www.desiem.com and shows nothing. But when called with: www.desiem.com/MENU/ , if showed the page properly.

My web page is developed in Netbeans 7.1
Version of Tomcat is 1.6.0_35-b10

I hope it is just a change in the web.xml

Attach web.xml
<servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <!--<url-pattern>/faces/*</url-pattern>-->
        <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index13.xhtml</welcome-file>
    </welcome-file-list>

Please, your support.
Thanks
John
2
  • You do realize there are two web.xml files.. One, under /tomcat/conf/web.xml which is the default. There is another under your /tomcat/webapps/MENU/WEB-INF/web.xml .. You may want to be sure you update the war file once you get this sorted for any subsequent re-deployments Commented Nov 23, 2013 at 17:21
  • Hi , thanks for you time.. The tomcat I'm using is of my provider of Hosting "DailyRazor" I have that tell them to make a change in your web.xml? Commented Nov 23, 2013 at 17:33

1 Answer 1

1

Easiest way is to rename your war file to ROOT.war.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.