aspose file tools*
The moose likes Servlets and the fly likes Configure Servlet in TOMCAT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Configure Servlet in TOMCAT" Watch "Configure Servlet in TOMCAT" New topic
Author

Configure Servlet in TOMCAT

nivedkumar
Greenhorn

Joined: Oct 13, 2001
Posts: 7
I have created a folder called IOEmail in C:\ and made proper
changes in server.xml. and I put my compiled .class (BasicServlet.class) file in IOEmail\Web-inf\Classes in order for my .class file to be called through browser. But whenever I give URL like "http://localhost:8080/IOEmail/BasicServlet" ,it is
not working, but if I URL like
"http://localhost:8080/IOEmail/servlet/BasicServlet" , it is
working and I don't know why???
Could anybody help me to solve this problem?
------------------

Nived Kumar P N
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12678
    
    5
Sounds like you forgot to make/modify web.xml for your web application. See the Tomcat example application web.xml file.
Bill


Java Resources at www.wbrogden.com
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"nivedkumar",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in again with a new name which meets the requirements.
Thanks.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configure Servlet in TOMCAT
 
Similar Threads
BasicServlet.HTML
using "Professional Java Servltes 2.3"
problem in excuting Basicservlet
Tomcat, JSP and Applet
Java Web Server not finding *.java servlet files