getting rid of 8080:  Change your Connector's port attribute in server.xml
(search in the file for 8080).

getting rid of the context name: Change your Context's path attribute to be
"". (probably also in server.xml).  You will need to remove the existing
default web application, which is that Tomcat welcome page you are seeing.



> -----Original Message-----
> From: Paul Taylor [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, November 10, 2004 8:29 AM
> To: Tomcat Users List
> Subject: How do default to get website to go straight to my webapp ?
> 
> 
> How do you default to get website to go straight to my webapp ?
> 
> I have a web application called testapp and in web.xml I have 
>  <welcome-file-list>
>      <welcome-file>jsp/overview.jsp</welcome-file>
>  </welcome-file-list>
> 
> Going to
>     http://localhost:8080/testapp
> 
> takes the user to
>     http://localhost:8080/testapp/jsp/overview.jsp
> 
> which is fine.
> 
> BUT how can I get the user to go straight to 
> http://localhost:8080/testapp/jsp/overview.jsp
> when they enter http://localhost:8080
> at the moment it just goes to the tomcat home page index.jsp
> 
> and is there a way I can do without the user needing to 
> specify the port 
> i.e http://localhost as other servers seem to do.
> 
> Thanks, (one day i will get this webserver business)
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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