关于weblogic.xml的配置

前端之家收集整理的这篇文章主要介绍了关于weblogic.xml的配置前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

<? xml version="1.0" encoding="GB2312" ?>

<! 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>

<!--

为web.xml所定义角色赋值

如果是Weblogic 8.1 SP2 或者之前的版本,可以不定义security-role-assignment

如果是SP3,必须手工添加所有principal(角色或角色组);

-->

<security-role-assignment>

<!-- role-name 必须跟web.xml中security-role标记下的role-name取值相同 -->

<role-name>pafaDemoUser</role-name>

<!-- principal-name 必须是UM中定义的角色或者角色组,不能是用户 -->

<principal-name>r_usermanager_rm_user</principal-name>

<principal-name>p_g_rmtest03_myopr</principal-name>

<principal-name>Administrators</principal-name>

</security-role-assignment>

<jsp-descriptor>

<jsp-param>

<param-name>pageCheckSeconds</param-name>

<param-value>1</param-value>

</jsp-param>

<jsp-param>

<param-name>compilerSupportsEncoding</param-name>

<param-value>true</param-value>

</jsp-param>

<jsp-param>

<param-name>encoding</param-name>

<param-value>GB2312</param-value>

</jsp-param>

<jsp-param>

<param-name>verbose</param-name>

<param-value>true</param-value>

</jsp-param>

<jsp-param>

<param-name>printNulls</param-name>

<param-value>false</param-value>

</jsp-param>

<jsp-param>

<param-name>keepgenerated</param-name>

<param-value>true</param-value>

</jsp-param>

</jsp-descriptor>

</weblogic-web-app>

猜你在找的XML相关文章