Java Serlet file not found

Hi,

I am new in Java servlet and tomcat.

I install the jdk1.5 and tomcat 5.5

my tomcat is running but when i call the servlet file

it tells "File not found"

I save my file here

C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps

please help me

I write

[317 byte] By [sj1506a] at [2007-11-27 7:38:12]
# 1
Did you configure the servlet in web.xml?
BIJ001a at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks for the replyNo I don't know how to configure the xml filePlease help me
sj1506a at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...
# 3
read some tutorials, look at the examples, read the fine manual.It's all explained very clearly so even simpleminded people like professional programmers can understand it.
jwentinga at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...
# 4
Actually I am not a professional.I read some tutorials but I could't solve so I post this problem here.I read the tomcat5.5 documentation.but I ...
sj1506a at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...
# 5
Can I get any urls where I can get the actual cause
sj1506a at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...
# 6
if you can't figure it out from a tutorial where it's all spelled out for you why do you think you'll figure it out if someone else spells it all out for you here?
jwentinga at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...
# 7

you can use this web.xml file

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE web-app

PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

"http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

<servlet>

<servlet-name>dummy name </servlet-name>

<servlet-class>actual class name</servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>dummyname</servlet-name>

<url-pattern>/abc</url-pattern>

</servlet-mapping>

<welcome-file-list>

<welcome-file>index.jsp</welcome-file>

</welcome-file-list>

</web-app>

chowdaryvasudevaraoa at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...
# 8
Genius. Let's just hope you can be there to hold the guy's hand through his entire career, eh readers
georgemca at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...
# 9
> Genius. Let's just hope you can be there to hold the> guy's hand through his entire career, eh readersI don't think this posting of a web.xml file will help the OP since there is much more to it than just having a web.xml file..
sabre150a at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...
# 10

> > Genius. Let's just hope you can be there to hold

> the

> > guy's hand through his entire career, eh readers

>

> I don't think this posting of a web.xml file will

> help the OP since there is much more to it than just

> having a web.xml file..

true, so he'll be back next to ask about what he should put exactly where in that web.xml, where to put the file, etc. etc.

jwentinga at 2007-7-12 19:18:45 > top of Java-index,Java Essentials,Java Programming...