Question:

Setting up website with java

by  |  earlier

0 LIKES UnLike

I have a virtual dedicated server from godaddy which has tomcat on it. I developed an app and now want to deploy it to the site. I want it so that when you get www.myexamplesite.com, the default jsp appears. I can get the app to work sorta using the tomcat directory (123.123.123.123:9080/myjavaapp) but obviously I don't want all this out, just the domain name.

Forgive my ignorance, but I am a caveman when it comes to servers. This is my first time doing this on my own and I'm a little lost. So if there's any way to dumb it down for a rookie like me, I'd appreciate it.

 Tags:

   Report

2 ANSWERS


  1. I have similar problems in the past and one of the easiest way to do this is just to use an index that redirects to your app using javascript.

    Is a shame that the lamp guys have all of this hosting solutions and that we have to fight against this stupid thingies. But thats the way it goes.

    Good Luck!


  2. there is a file web.xml in ur web-inf directory specify the start page in the xml file and u will get it as u want.

    Best of luck for the new site

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.