Your Server

Setting up website with java

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.

Public Comments

  1. 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
  2. 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!
Powered by Yahoo! Answers