Debugging JSPs in Eclipse using OC4J

阅读更多

To set break points and debug JSPs in Eclipse using the OC4J app server, you have to configure OC4J. 

Edit the file c:\oracle\oc4j\j2ee\home\config\global-web-application.xml and change the configuration for the OC4J JSP servlet handler to:


      jsp
      oracle.jsp.runtimev2.JspServlet
      
      

      
      
        debug
        class
      
      
        debug_mode
        true
      
      
        developer_mode
        true
      
      
        encode_to_java
        true
      
      
        emit_debuginfo
        true
      
      

      0
    
 


After changing the configuration file and restarting the OC4J server in debug mode, I was able to stop execution in JSPs.

 

 

参见 http://www.xinotes.org/notes/note/204/

你可能感兴趣的:(Eclipse,Servlet,Oracle,JSP,Web)