Protects JSP files by translating JSP pre-editing into class files

Source: Internet
Author: User

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}

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.