Solved

tomcat-redirect website

Posted on 2014-03-18
1
298 Views
Last Modified: 2014-03-20
hi
i have a site that works likes this
ex. mysite.com/site  this will get me to the main page

but i would prefer to just get to site directly by typing mysite.com.  how can i forward mysite.com to mysite.com/site?

hope this makes sense
this is a tomcat server on linux redhat

thanks
0
Comment
Question by:eli2011
1 Comment
 
LVL 2

Accepted Solution

by:
Puspharaj Selvaraj earned 500 total points
ID: 39938887
On you webapp, web.xml remove mapping index.jsp and save

On your webapp/root/index.jsp add the mysite.com/site
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question