The moose likes Tomcat and the fly likes Auto-redirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Auto-redirect" Watch "Auto-redirect" New topic


Dmitry Fedorovich

Joined: Sep 06, 2010
Posts: 8
Good day.

I got Tomcat 7 server and an application (java) on it.
Welcome-page of the application is index.html, so if i go to http://domain - i see http://domain/index.html page.
Also i got directory "admin", and page admin_auth.html in it.
So to see this page i need to go to http://domain/admin/admin_auth.html
The task is - to se this page on URL http://domain/admin

How can i do this?

Thank you.
It is sorta covered in the JavaRanch Style Guide.
subject: Auto-redirect
Similar Threads
What's the URL for administering GlassFish on a Linux server?
Error 404--Not Found:when deploying application in exploded directory format
How can I edit and force a recompile of default Tomcat5 index.jsp?
where to map the domain name in Tomcat?
Weblogic Administration console