In websphere, after modifying the JSP page, refresh does not take effect. solution:
Every time the JSP file modified in WebSphere is refreshed on the front-end page, it still does not take effect, or the previous status is not changed. Even clearing the. Class file in the cache and refreshing it again does not respond. As a result, each time you delete the cache and restart Websphere to take effect, it is a headache.
Solution:
Open the WEB-INF file under/ibm-web-ext.xmi/, the original ibm-web-ext.xmi file content is as follows:
<? XML version = "1.0" encoding = "UTF-8"?>
<Webappext: webappextension XMI: version = "2.0" xmlns: XMI = "http://www.omg.org/XMI" xmlns: webappext = "webappext. XMI "xmlns: webapplication =" webapplication. XMI "XMI: Id =" webappextension_1 "reloadinterval =" 5 "reloadingenabled =" false "defaulterrorpage =" error. JSP "additionalclasspath =" "fileservingenabled =" false "directorybrowsingenabled =" false "enabled =" true "autorequestencoding =" true "autoresponseencoding =" false ">
<Webapp href = "WEB-INF/Web. xml # webapp_id"/>
<Jspattributes XMI: Id = "jspattribute_1" name = "reloadenabled" value = "true"/>
</Webappext: webappextension>
The red part is added, and the reloadenabled attribute is set to true. After the setting, you must restart Websphere to take effect.
Other configurable attributes include:
<Jspattributes XMI: Id = "jspattribute_1" name = "usethreadtagpool" value = "true"/>
<Jspattributes XMI: Id = "jspattribute_2" name = "disablejspruntimecompilation" value = "true"/>
<Jspattributes XMI: Id = "jspattribute_3" name = "usefullpackagenames" value = "true"/>
For specific attributes, refer to the IBM Website:
Http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp? Topic =/com.ibm.websphere.iseries.doc/INFO/AE/rweb_jspreloading.html