Hi,
I'm using Tomcat 6.0.44 with Invoker Servlet, I know it is a
bad idea/desition, but by now it is not in my reach to change that.
I'm using the ROOT webapp.
What I need is to have a welcome page (index.htm) in the same
directory I'm mapping with invoker.
So, my WEB.XML looks like this:
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
And my folder structure looks like this:
Tomcat
Webapps
ROOT
index.htm
images
*.js, ...
WEB-INF
Web.xml
Classes
*.class, ...
The idea is for a user to enter the URL:
http://myserver:8080
And have it attendend by "index.htm", which will have a
redirect to http://myserver:8080/loginpage.
By now http://myserver:8080/loginpage is working, but not the welcome page.
In Tomcat's WEB.XML the welcome page list is correctly defined, and removing
the invoker mapping makes the welcome page work. Probably because it gets
attended by the default?
It seems to me that one folder can only be attended by one mapper, and that the
invoker cannot be used with welcome pages. But maybe I'm wrong and there is a
workarround.
If anyone has any idea of how to have this working it will be more than welcome.
Best regards,
Federico.