Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Uploading servlet to website

Hi,

I wrote a simple hello world servlet using NetBeans(which uses TomCat) and everything works fine when i go to :

http://localhost:8084/FirstApp/HelloWorld

Everything works fine so far.

The problem is when I upload the files of the project to my website (hosted at LunarPages, which supports servlets and jsp's), I get a 404 error (page not found). I kept the directory structure exactly the way I had it in my hard-drive(class file under public_html/WEB-INF/classes)

Please help, i'm working on this for days....
[570 byte] By [oh_crap] at [2007-11-11 8:28:53]