This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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!