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 <JSP-Descriptor> to weblogic. xml
<JSP-param>
<Param-Name> keepgenerated </param-Name>
<Param-value> true </param-value>
</JSP-param>
</JSP-Descriptor>. 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 whether the web application generates a temporary folder in WebLogic, which is 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.