File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Deploying Servelt on site Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Deploying Servelt on site" Watch "Deploying Servelt on site" New topic

Deploying Servelt on site

padmshree Patil
Ranch Hand

Joined: Dec 18, 2000
Posts: 54
I have registered to .I want to deploy my project (using Servlet,JSp<html,Ms-Acess) on this site.
First I tried to run simple servlet program('s not running.Getting error as
HTTP 500 internal server Eror.
I have doubt about web.xml page editing.I followed the instruction given in tutorial.I just inserted the folowing code
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
Remaining code in web.xml page as it is .I didn't deleted.Do I need to delete?
I copied and Hello.class files in
/contextname.web_inf/classes/test dir
I don't what's wroung?
please help me out
mohan gandhi

Joined: Feb 18, 2001
Posts: 6
make sure all the classnames are correct in the web.xml file.Also in the web.xml file u've edited I see test.hello ,change it to hello.test.hello means hello class in a directory called test.change that to should work.
mohan gandhi

Joined: Feb 18, 2001
Posts: 6
alo the site u're using does'nt support MS-Access.It uses's simple.
Hema Menon
Ranch Hand

Joined: Oct 29, 2000
Posts: 569
I was successful in running a simple servlet like HelloWorld on I added the class file within the default package(Mine was ServletProjs/Hello) to the Web-inf/classes directory. I did not modify the web.xml file. The servlet was requested as
However I tried to develop a WAR file and deploy it but was not successful, nor was I successful in deploying the servlet using url pattern provided in the web.xml file.
Will let you know if I succeed,

I agree. Here's the link:
subject: Deploying Servelt on site
It's not a secret anymore!