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.
Next: Whats A Good Domain Name For A New Shopping Website That Sells Everything From E-books To Wii’s?
Previous: Can You Register A Domain Name Without Starting A Website?
"Setting Up Website With Java" was posted on Friday, November 6th, 2009 at 12:30 am.
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
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!