<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
              port="8080" minProcessors="5" maxProcessors="75"

you told your webserver to listen on port 8080, and now you are
wondering why he is obeying your command? :-) Change port to be 80.

regards
Leon


On 10/25/05, Kam Lung Leung <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thank you in advance for your help. I have a web application in
> the ROOT web dirctory.   I failed to access the ROOT/index.jsp file with 
> xx.xxx.xxx.xx/index.jsp, but I was able to access it with 
> xx.xxx.xxx.xx:8080/index.jsp Can someone tell me why. I used Struts in this 
> web application and declared something like the following
> in the ROOT/WEB-INF/web.xml file;
>
>  <web-app>
>    <!-- Standard Action Servlet Configuration (with
> debugging) -->
>    <servlet>
>
>
>      <init-param>
>        <param-name>config</param-name>
>
>      </init-param>
>      <init-param>
>        <param-name>debug</param-name>
>        <param-value>3</param-value>
>      </init-param>
>      <init-param>
>        <param-name>detail</param-name>
>        <param-value>3</param-value>
>      </init-param>
>      <load-on-startup>1</load-on-startup>
>    </servlet>
>    <!-- Standard Action Servlet Mapping -->
>    <servlet-mapping>
>
>      <url-pattern>*.do</url-pattern>
>    </servlet-mapping>
>   <web-app>
>
> The HTTP Connector listed in the server.xml file is listed below.
>
> <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
>
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>                port="8080" minProcessors="5" maxProcessors="75"
>                enableLookups="true" redirectPort="8443"
>                acceptCount="100" debug="0" connectionTimeout="20000"
>                useURIValidationHack="false" disableUploadTimeout="true" />
>
>
>
> Kam Lung Leung
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to