File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Recognizing a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Recognizing a servlet" Watch "Recognizing a servlet" New topic

Recognizing a servlet

Paul Ackermann

Joined: Dec 09, 2002
Posts: 3
I am new to Weblogic, and I can't get my browser to recognize my servlet. I know this is rather simplistic. Can somebody give me the basic steps?
I am getting the following error:
Error 404- Not Found
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
See the WebLogic documentation: Assembling and Configuring Web Applications.
Paul Ackermann

Joined: Dec 09, 2002
Posts: 3
I checked it out, but it has not help.
I am receiving the message:
HTTP 405 - Resource not allowed
It seems the problem is in the web.xml

I have a feeling that it has to do with servlet-class, but I checked the .ear file in the applications directory and it has the following entry:
This path matches what is in the web.xml, with the WEB-INF\classes in the beginning of the classpath
My url is http://localhost:7001/ObjectReference/Main
(I placed <context-root>ObjectReference</context-root> in the application.xml)
Any ideas?
I agree. Here's the link:
subject: Recognizing a servlet
It's not a secret anymore!