When running a self-configured web application, you can only view the class file compiled by weblogic.
You cannot see the java files before compilation. For debugging convenience, we sometimes want to see the java files before compilation.
Add weblogic. xml
<JSP-Descriptor>
<JSP-param>
<Param-Name> keepgenerated </param-Name>
<Param-value> true </param-value>
</JSP-param>
</JSP-Descriptor>
You can.
If not, create a weblogic. xml file in the WEB-INF.
Add
<? XML version = "1.0" encoding = "UTF-8"?>
<! Doctype Weblogic-web-app
Public "-// BEA Systems, Inc. // DTD web application 8.1 // en"
Http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd>
<Weblogic-web-app>
<JSP-Descriptor>
<JSP-param>
<Param-Name> keepgenerated </param-Name>
<Param-value> true </param-value>
</JSP-param>
</JSP-Descriptor>
</Weblogic-web-app>
Check if the web application generates a temporary folder in WebLogic, usually in (xxx represents your project name)
Xxxdomain \ myserver \. in the wlnotdelete \ extract directory, if no Java file is generated, stop the service and delete all the files under myserver_xxx_xxx in the directory, after the service is restarted, you can see the generated Java file, which makes it easier to find errors for the program.
Weblogic9 is stored in c: \ Bea \ user_projects \ Domains \ mydomain \ servers \ adminserver \ TMP \ _ wl_user \ _ nvidir_boc_dir \ aptwrp \ jsp_servlet \ _ datacollect