File not found exception ...

Hi friends,

I deployed a servlet called SimpleServlet into weblogic server but when i tried to call it from html page it gives file not found (error 404)error.Same program is getting executed when i use tomcat server.What may be the problem.

Hierarchy is as follows

Simple(.java file)/WEB-INF(.xml files)/classes(.class files)

The program is successfully getting deployed and deployment descriptors are also created.

plz help me out.

[470 byte] By [Javafreaka] at [2007-10-3 7:28:10]
# 1

I guess the problem might be with the application context. What is the context name you use in tomcat (following the url and slash) and what is the context used in weblogic?

for example http://localhost:8080/<myapp>

You may have to explicitly set the application context name in weblogic...

Cheers,

Janesh

Janesh_Subrahmanyana at 2007-7-15 2:27:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...