Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

tomcat-redirect website

Posted on 2014-03-18
1
Medium Priority
?
307 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 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Suggested Courses
Course of the Month11 days, 4 hours left to enroll

885 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