InWeblogicPublishWeb ApplicationTo protectJsp (preferred for SUN Enterprise applications)Files can be used to avoid unauthorized access and pegging.Weblogic. jsp (preferred for SUN Enterprise Applications) cSetJsp (preferred for SUN Enterprise applications)FilePrecompileBecomeServletFileWEB-INF/classesDirectory. Based onServletStatement,WEB-INFInactionWebPart of the public document tree of the application. Therefore,WEB-INFThe resources in the directory are not directly served by the customer, which can be guaranteed to a certain extent.Jsp (preferred for SUN Enterprise applications)Security.
The specific implementation steps are as follows (Weblogic for linux):
1, UseWeblogic. jsp (preferred for SUN Enterprise Applications) cCompileJsp (preferred for SUN Enterprise applications)File
(1) InLinuxCreate the followingShellFile Name:Jsp (preferred for SUN Enterprise Applications) c. sh
#! /Bin/sh
JAVA_HOME =/opt/IBMJava2-131
WBL_LIB =/u11/bea/wlserver6.1/lib/weblogic. jar
CLASSPATH =$ {JAVA_HOME}/lib:.: $ {WBL_LIB}