Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » How to run a Servlet class from Oracle-11g Weblogic server (Oracle Weblogic Server 11g Ver:10.3.3.0, OS:RHEL-4 (Server Edition) on IBM XServer)
How to run a Servlet class from Oracle-11g Weblogic server [message #496204] Fri, 25 February 2011 04:15
cmzala
Messages: 11
Registered: December 2010
Location: Ahmedabad
Junior Member
I deployed following structure on the Oracle-11g Weblogic Server:

MyWebApps/
MyWebApps/index.html
MyWebApps/Xyz.jsp
MyWebApps/WEB-INF/
MyWebApps/WEB-INF/web.xml
MyWebApps/WEB-INF/weblogic.xml
MyWebApps/WEB-INF/classes
MyWebApps/WEB-INF/classes/Abc.class		(This is a Servlet class)
MyWebApps/WEB-INF/lib
MyWebApps/WEB-INF/lib/CommonLib.jar


I put my Servlet class in the /WEB-INF/classes/ folder of my web application.

JSP files on the context are working fine, but Servlets are not working.

How to run this Abc.class Servlet file on the browser, without making any entry of this class file in the web.xml file?

I tried the following URLs but they are not working (Error 404--Not Found):
	[url]http://hostName:portName/MyWebApps/Abc[/url]
	[url]http://hostName:portName/MyWebApps/servlet/Abc[/url]
	[url]http://hostName:portName/MyWebApps/jsp_servlet/Abc[/url]

Do you have any idea?

Thank You.

CMZala

[Updated on: Fri, 25 February 2011 04:22]

Report message to a moderator

Previous Topic: Users connectng to VPN
Next Topic: Oracle Forms 10g
Goto Forum:
  


Current Time: Thu Mar 28 15:47:49 CDT 2024