Re: Tomcat configuration question

From: PerfectDayToChaseTornados (pdtct_at_emailaddress.invalid)
Date: 11/24/03

  • Next message: Michael: "Selectable channels"
    Date: Mon, 24 Nov 2003 19:38:01 -0000
    
    

    "DaiIchi" <daiichi@agentnews.test.xhome.us> wrote in message
    news:6243sv4542u8k9u3oqtomlv1rhr0ia8due@4ax.com...
    |
    | I'm using Tomcat in standalone mode. When a URL without a filename is
    | entered into the browser (ie. "http://myhost.mydomain.com"), and the
    | default path does NOT have an index.html, but rather an index.jsp
    | file, Tomcat response with an "HTTP/1.1 302 Moved Temporarily" and a
    | "Location: http://myhost.mydomain.com/index.jsp" ... I was wondering
    | if there is a configuration for tomcat that can stop this behavior,
    | i.e., just run index.jsp?
    |

    Yes, you can set up the welcome file using web.xml see the dtd
    http://java.sun.com/j2ee/dtds/web-app_2_2.dtd

    -- 
    -P
    

  • Next message: Michael: "Selectable channels"

    Relevant Pages

    • Re: Tomcat configuration question
      ... >>| I'm using Tomcat in standalone mode. ... When a URL without a filename is ... because I use Tomcat 4.1.29 and when I point my browser to ...
      (comp.lang.java)
    • Tomcat configuration question
      ... I'm using Tomcat in standalone mode. ... When a URL without a filename is ... entered into the browser, ...
      (comp.lang.java)
    • Re: Tomcat configuration question
      ... >| I'm using Tomcat in standalone mode. ... When a URL without a filename is ... Tomcat returns a 302 error to force the browser to redirect to the ...
      (comp.lang.java)
    • Re: Tomcat configuration question
      ... >I'm using Tomcat in standalone mode. ... When a URL without a filename is ... Rumor has it that this problem was fixed in Tomcat 5. ...
      (comp.lang.java)
    • Mobile phone "SAVE" filename problem related to servlet
      ... user views a file by browsing to a servlet at tomcat ... the servlet code: ... filename is not the one set on the Header => filename, ... Prev by Date: ...
      (comp.lang.java.programmer)