• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set to go to a url without jsp file name

 
Garden Pak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I set an Apache Tomcat WAS.

http://localhost:8080/test.jsp

This URL OK.

But I want to make my website available to the following URL(forward the test.jsp file automatically by the following URL).

http://localhost:8080/

How can I set this?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set it as the welcome-file in the deployment descriptor.
 
K. Gil
Ranch Hand
Posts: 75
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and here is how to do this:
How do I override the default home page loaded by Tomcat?
http://wiki.apache.org/tomcat/HowTo#How_do_I_override_the_default_home_page_loaded_by_Tomcat.3F

Your can also set it for your application only, not globally. Depends on your requirements.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic