Two issue here:

1. Place the index.jsp in webapps/ROOT instead of webapps/ROOT/admin

2. ROOT context that comes with tomcat has all it's jsp files pre-compiled. Your new index.jsp is being ignored in favor of the pre-compiled version. Remove the servlet mapping in webapps/ROOT/WEB-INF/web.xml, restart tomcat (or just the ROOT webapp if you have the manager webapp up and running), and all should be as expected.

--David

Pid wrote:

what version of tomcat?
what have you got defined in the <Host ...>s in your server.xml?



McRaven, Brian wrote:
I have placed an index.jsp file that I created in my servers
webapps/ROOT folder.  When I place the following address in my browser:

http://localhost/index.jsp

I still come up with the tomcat homepage on my local host.  I know that
file is located in the ROOT/admin folder is there some way that my
browser is overridding my request for my index.jsp file for the tomcat
homepage index.jsp instead?  I've tried opening other jsp's that I
migrated to this folder and I get a 404 not found message when I do
this.

Brian


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to