When using OC4J you must be using atleast version 10.1.3 which added support for JSR-45. After getting OC4J installed, go into the <OC4J Home>/j2ee/home/config/ directory and open the global-web-application.xml file, navigate down to the jsp servlet defined starting with:
<servlet-name>jsp</servlet-name>
<servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
and add a new init-param to it, like so:
<servlet-name>jsp</servlet-name>
<servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
now save the file and either restart the app server, or start it up. Debugging should be working now. Some people have reported problems with “Source not found” in MyEclipse when debugging JSP pages, we are currently looking into this issue.
More details are available in this thread as well as this one.