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