There is no "easy" way in tomcat. That is most people run apache in front of tomcat and apache already has the functionality, so there is no need to duplicate it in tomcat.


The easy hack is to create an index.jsp and have it be one line: <% response.sendRedirect("iNeed/MoreCowebll.jsp"); return; %>

-Tim

Colin Browell wrote:
<[EMAIL PROTECTED]> wrote:

Is there a simple way of causing a page redirect in Tomcat?

In Apache a simple change to the httpd.conf would suffice, but in
Tomcat the learning curve seems to be much steeper!

Basically, I have been told to modify our Aepona/Tomcat installation
so that when a user types

http://mytomcathost:8080

into their browser, then instead of getting the default set of Tomcat
pages (containing examples etc) they will get redirected to the home
page of the Aepona software itself which runs on Tomcat at

http://mytomcathost:8080/Causeway_PM

Can this be done by a simple change to a Tomcat configuration file?


Anyone?

I thought that this would be a simple task to cause a page redirect.

(Incidentally we are running Tomcat, NOT Apache with the tomcat
module.)

Thanks

Colin


__________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com

---------------------------------------------------------------------
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