Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java servlets and Tomcat server

843840Oct 14 2002 — edited Jun 10 2003
Hi friends

i am using Sun One forte Community edition . i am trying to make a hello world servlet .
there are 2 Files one is Index.html , HelloWorld.java (Servlet)

I call this servlet from the index.html file.
evertime i call it it gives me and error of Apache tomcat file not found .The tomcat server is inbuilt with the Sun One studio.

the directory structure is

HOME
WEB_FDL
Index.html
WEB-INF
CLASSES
myServlet (package)
HelloWorld.java
LIB


The problem is I am not getting how to write the path of servlet in index.html to call the helloWorld servlet.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2003
Added on Oct 14 2002
2 comments
138 views