<?xml version="1.0" encoding="UTF-8"?><weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd"> <context-root>/</context-root> <jsp-descriptor> <!-- 是否要生成java类,用于开发调试 --> <keepgenerated>false</keepgenerated> <!-- 每隔多长时间检查一下jsp的变动,-1为不检查(生产环境推荐),修改jsp必须重启,秒为单位,如1则代表1秒检查一次 --> <page-check-seconds>10</page-check-seconds> <!-- jsp预编译 --> <precompile>true</precompile> </jsp-descriptor> <container-descriptor> <!-- servlet预编译 --> <servlet-reload-check-secs>-1</servlet-reload-check-secs> <!-- true以项目中的jar包为第一优先级, --> <prefer-web-inf-classes>false</prefer-web-inf-classes> </container-descriptor></weblogic-web-app>
原文链接:https://www.f2er.com/xml/298378.html