本次操作是主要围绕如何搭建weblogic服务器升级weblogic软件及配置服务,总共有三大步骤,可划分为六个小步骤:

  1. 选取已有环境,准备weblogic压缩包,java包等
  2. 准备操作系统环境用户目录等
  3. 安装weblogic
  4. 升级weblogic软件
  5. 创建Weblogic域 (domain)
  6. 启动Weblogic服务

准备安装包:

  weblogic安装包:wls1036_generic.jar (客户软件要求版本)

  java包:jdk-7u80-linux-x64.tar.gz  (客户软件要求版本)

操作系统环境准备:

  • 创建weblogic用户:
groupadd -g  weblogic
useradd -u -g weblogic weblogic
echo ovsweb411! | passwd --stdin weblogic
mkdir /weblogic
mkdir -p /weblogic/patch
chown -R weblogic:weblogic /weblogic
chmod -R /weblogic
  • 关闭防火墙
linux
#systemctl stop firewalld
#systemctl disable firewalld
linux之前
# service iptables stop
# chkconfig iptables off
# chkconfig --list iptables
  • 安装必要的包
yum -y install  xterm.x86_64*
yum -y install xorg-x11-xauth*
yum -y install xorg-x11-app*
yum -y install unzip
yum -y install libXt*
oem需要的包:
yum -y install gcc-.*
yum -y install sysstat-.*

安装Java:

  • 解压java包
cd /weblogic
tar -xvf jdk-7u80-linux-x64.tar.gz
  • 修改weblogic的.bash_profile
export CONFIG_JVM_ARGS='-Djava.security.egd=file:/dev/./urandom'    --config.sh 70%较慢,设置修复
PATH=$PATH:/weblogic/jdk1..0_80/bin:$HOME/.local/bin:$HOME/bin export PATH
export JAVA_HOME=/weblogic/jdk1..0_80
export LANG=c #export LC_ALL=zh_CN.UTF-
#export LANG=zh_CN.UTF-8 java -version 验证查看

安装weblogic:

java -jar wls1036_generic.jar (默认图形界面,没有的话会自动-mode=console)
-Welcome页面,输入Next后回车;
Unable to instantiate GUI, defaulting to console mode.无法实例化 GUI,默认进入控制台模式。
Extracting 0%....................................................................................................100% <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Welcome:
-------- This installer will guide you through the installation of WebLogic 10.3.6.0.
Type "Next" or enter to proceed to the next prompt. If you want to change data entered previously, type "Previous". You may quit the installer at any time by typing "Exit". Enter [Exit][Next]> 回车 <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Choose Middleware Home Directory:
--------------------------------- "Middleware Home" = [Enter new value or use default
"/bea/weblogic/Oracle/Middleware"] Enter new Middleware Home OR [Exit][Previous][Next]> /bea/weblogic/ <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Choose Middleware Home Directory:
--------------------------------- "Middleware Home" = [/bea/weblogic] Use above value or select another option:
1 - Enter new Middleware Home
2 - Change to default [/bea/weblogic/Oracle/Middleware] Enter option number to select OR [Exit][Previous][Next]> 1 <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Choose Middleware Home Directory:输入你要安装的位置
--------------------------------- "Middleware Home" = [/bea/weblogic] Enter new Middleware Home OR [Exit][Previous][Next]> <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Choose Middleware Home Directory:
--------------------------------- Warning /bea/weblogic directory is not empty. Proceed with installation? Enter [Exit][Previous][Next]>next <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Register for Security Updates:
------------------------------ Provide your email address for security updates and to initiate configuration manager. 1|Email:[]
2|Support Password:[]
3|Receive Security Update:[Yes] Enter index number to select OR [Exit][Previous][Next]> 3 <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Register for Security Updates:
------------------------------ Provide your email address for security updates and to initiate configuration manager. "Receive Security Update:" = [Enter new value or use default "Yes"] Enter [Yes][No]? no <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Register for Security Updates:
------------------------------ Provide your email address for security updates and to initiate configuration manager. "Receive Security Update:" = [Enter new value or use default "Yes"] Enter [Yes][No]? yes <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Register for Security Updates:
------------------------------ Provide your email address for security updates and to initiate configuration manager. 1|Email:[]
2|Support Password:[]
3|Receive Security Update:[No] Enter index number to select OR [Exit][Previous][Next]>next <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Register for Security Updates:
------------------------------ Provide your email address for security updates and to initiate configuration manager. 1|Email:[]
2|Support Password:[]
3|Receive Security Update:[No] Enter index number to select OR [Exit][Previous][Next]>next <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Choose Install Type:
-------------------- Select the type of installation you wish to perform. ->1|Typical
| Install the following product(s) and component(s):
| - WebLogic Server
| - Oracle Coherence 2|Custom
| Choose software products and components to install and perform optional
|configuration. Enter index number to select OR [Exit][Previous][Next]> 2 <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Choose Products and Components:
------------------------------- Release 10.3.6.0
|_____WebLogic Server [1] x
| |_____Core Application Server [1.1] x
| |_____Administration Console [1.2] x
| |_____Configuration Wizard and Upgrade Framework [1.3] x
| |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
| |_____WebLogic SCA [1.5] x
| |_____WebLogic JDBC Drivers [1.6] x
| |_____Third Party JDBC Drivers [1.7] x
| |_____WebLogic Server Clients [1.8] x
| |_____WebLogic Web Server Plugins [1.9] x
| |_____UDDI and Xquery Support [1.10] x
| |_____Server Examples [1.11]
| |_____Evaluation Database [1.12] x
|_____Oracle Coherence [2] x
|_____Coherence Product Files [2.1] x
|_____Coherence Examples [2.2] *Estimated size of installation: 690.2 MB Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 2 <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Choose Products and Components:
------------------------------- Release 10.3.6.0
|_____WebLogic Server [1] x
| |_____Core Application Server [1.1] x
| |_____Administration Console [1.2] x
| |_____Configuration Wizard and Upgrade Framework [1.3] x
| |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
| |_____WebLogic SCA [1.5] x
| |_____WebLogic JDBC Drivers [1.6] x
| |_____Third Party JDBC Drivers [1.7] x
| |_____WebLogic Server Clients [1.8] x
| |_____WebLogic Web Server Plugins [1.9] x
| |_____UDDI and Xquery Support [1.10] x
| |_____Server Examples [1.11]
| |_____Evaluation Database [1.12] x
|_____Oracle Coherence [2]
|_____Coherence Product Files [2.1]
|_____Coherence Examples [2.2] *Estimated size of installation: 678.7 MB Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>next <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> JDK Selection (Any * indicates Oracle Supplied VM):
--------------------------------------------------- JDK(s) chosen will be installed. Defaults will be used in script string-substitution if installed. 1|Add Local Jdk
2|/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64[x] *Estimated size of installation: 678.7 MB Enter 1 to add or >= 2 to toggle selection OR [Exit][Previous][Next]> <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Choose Product Installation Directories:
---------------------------------------- Middleware Home Directory: [/bea/weblogic] Product Installation Directories: "WebLogic Server" = [Enter new value or use default
"/bea/weblogic/wlserver_10.3"] Enter new WebLogic Server OR [Exit][Previous][Next]> <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> The following Products and JDKs will be installed:
-------------------------------------------------- WebLogic Platform 10.3.6.0
|_____WebLogic Server
|_____Core Application Server
|_____Administration Console
|_____Configuration Wizard and Upgrade Framework
|_____Web 2.0 HTTP Pub-Sub Server
|_____WebLogic SCA
|_____WebLogic JDBC Drivers
|_____Third Party JDBC Drivers
|_____WebLogic Server Clients
|_____WebLogic Web Server Plugins
|_____UDDI and Xquery Support
|_____Evaluation Database *Estimated size of installation: 678.8 MB Enter [Exit][Previous][Next]> <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Installing files.. 0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************] Performing String Substitutions... <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Configuring OCM... 0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************] Creating Domains... <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Installation Complete Congratulations! Installation is complete. Press [Enter] to continue or type [Exit]> <-------------------- Oracle Installer - WebLogic 10.3.6.0 -------------------> Clean up process in progress ...

安装交互过程

升级weblogic软件:

  •   10.3.0.6:找寻其它机器上的 /weblogic/Oracle/Middleware/utils/bsu/cache_dir
[weblogic@rst-szdagl-app- bsu]$ vi bsu.sh
MEM_ARGS="-Xms256m -Xmx512m" --修改MEM_ARGS="-Xms2056m -Xmx5012m"
  •   解压包到/weblogic/Oracle/Middleware/utils/bsu/cache_dir ,没有目录的话,手工创建
nohup ./bsu.sh -install -patch_download_dir=/weblogic/Oracle/Middleware/utils/bsu/cache_dir -patchlist=GENM -prod_dir=/weblogic/Oracle/Middleware/wlserver_10. &
nohup ./bsu.sh -install -patch_download_dir=/weblogic/Oracle/Middleware/utils/bsu/cache_dir -patchlist=BHT3 -prod_dir=/weblogic/Oracle/Middleware/wlserver_10. &
  •   查看apply的补丁
./bsu.sh -view -prod_dir=/weblogic/Oracle/Middleware/wlserver_10. -status=applied -verbose

或者:

$ . $WL_HOME/server/bin/setWLSEnv.sh
$ java weblogic.version
  •   其它版本的升级:
java -jar /weblogic/patch//opatch_generic.jar -silent oracle_home=/weblogic/Oracle/Middleware/Oracle_Home

cd /patch
/weblogic/Oracle/Middleware/Oracle_Home/OPatch/opatch apply

创建weblogic域:

[weblogic@rst-szdagl-app- ~]$ cd /weblogic/Oracle/Middleware/wlserver_10./common/bin
[weblogic@rst-szdagl-app- ~]$./config.sh
or
cd /weblogic/Oracle/Middleware/Oracle_Home/wlserver/common/bin
cd /home/weblogic/Oracle/Middleware/wlserver_10.3/common/bin
-bash-4.1$ ./config.sh
Unable to instantiate GUI, defaulting to console mode. <------------------- Fusion Middleware Configuration Wizard ------------------> Welcome:
-------- Choose between creating and extending a domain. Based on your selection,
the Configuration Wizard guides you through the steps to generate a new or
extend an existing domain. ->1|Create a new WebLogic domain
| Create a WebLogic domain in your projects directory. 2|Extend an existing WebLogic domain
| Use this option to add new components to an existing domain and modify |configuration settings. Enter index number to select OR [Exit][Next]> 1 <------------------- Fusion Middleware Configuration Wizard ------------------> Select Domain Source:
--------------------- Select the source from which the domain will be created. You can create the
domain by selecting from the required components or by selecting from a
list of existing domain templates. ->1|Choose Weblogic Platform components
| You can choose the Weblogic component(s) that you want supported in
|your domain. 2|Choose custom template
| Choose this option if you want to use an existing template. This
|could be a custom created template using the Template Builder. Enter index number to select OR [Exit][Previous][Next]> 1 <------------------- Fusion Middleware Configuration Wizard ------------------> Application Template Selection:
------------------------------- Available Templates
|_____Basic WebLogic Server Domain - 10.3.6.0 [wlserver_10.3]x
|_____Basic WebLogic SIP Server Domain - 10.3.6.0 [wlserver_10.3] [2]
|_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.6.0 [wlserver_10.3] [3]
|_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.6.0 [wlserver_10.3] [4] Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> <------------------- Fusion Middleware Configuration Wizard ------------------> Edit Domain Information:
------------------------ | Name | Value |
_|________|_____________|
1| *Name: | base_domain | Enter value for "Name" OR [Exit][Previous][Next]> wlyxweb <------------------- Fusion Middleware Configuration Wizard ------------------> Edit Domain Information:
------------------------ | Name | Value |
_|________|_________|
1| *Name: | wlyxweb | Use above value or select another option:
1 - Modify "Name"
2 - Discard Changes Enter option number to select OR [Exit][Previous][Next]> <------------------- Fusion Middleware Configuration Wizard ------------------> Select the target domain directory for this domain:
--------------------------------------------------- "Target Location" = [Enter new value or use default
"/bea/weblogic/user_projects/domains"] Enter new Target Location OR [Exit][Previous][Next]> /wlyx/webapp/domains <------------------- Fusion Middleware Configuration Wizard ------------------> Configure Administrator User Name and Password:
----------------------------------------------- Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers. | Name | Value |
_|_________________________|_________________________________________|
1| *Name: | weblogic |
2| *User password: | |
3| *Confirm user password: | |
4| Description: | This user is the default administrator. | Use above value or select another option:
1 - Modify "Name"
2 - Modify "User password"
3 - Modify "Confirm user password"
4 - Modify "Description" Enter option number to select OR [Exit][Previous][Next]> 2 <------------------- Fusion Middleware Configuration Wizard ------------------> Configure Administrator User Name and Password:
----------------------------------------------- Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers. "*User password:" = [] Enter new *User password: OR [Exit][Reset][Accept]> welwlyx50 <------------------- Fusion Middleware Configuration Wizard ------------------> Configure Administrator User Name and Password:
----------------------------------------------- Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers. | Name | Value |
_|_________________________|_________________________________________|
1| *Name: | weblogic |
2| *User password: | ********* |
3| *Confirm user password: | |
4| Description: | This user is the default administrator. | Use above value or select another option:
1 - Modify "Name"
2 - Modify "User password"
3 - Modify "Confirm user password"
4 - Modify "Description"
5 - Discard Changes Enter option number to select OR [Exit][Previous][Next]> 3 <------------------- Fusion Middleware Configuration Wizard ------------------> Configure Administrator User Name and Password:
----------------------------------------------- Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers. "*Confirm user password:" = [] Enter new *Confirm user password: OR [Exit][Reset][Accept]> welwlyx50 <------------------- Fusion Middleware Configuration Wizard ------------------> Configure Administrator User Name and Password:
----------------------------------------------- Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers. | Name | Value |
_|_________________________|_________________________________________|
1| *Name: | weblogic |
2| *User password: | ********* |
3| *Confirm user password: | ********* |
4| Description: | This user is the default administrator. | Use above value or select another option:
1 - Modify "Name"
2 - Modify "User password"
3 - Modify "Confirm user password"
4 - Modify "Description"
5 - Discard Changes Enter option number to select OR [Exit][Previous][Next]> <------------------- Fusion Middleware Configuration Wizard ------------------> Domain Mode Configuration:
-------------------------- Enable Development or Production Mode for this domain. ->1|Development Mode 2|Production Mode Enter index number to select OR [Exit][Previous][Next]> 2 <------------------- Fusion Middleware Configuration Wizard ------------------> Java SDK Selection:
------------------- ->1|N/A SDK 1.6.0_24 @ /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
2|Other Java SDK Enter index number to select OR [Exit][Previous][Next]> 2 <------------------- Fusion Middleware Configuration Wizard ------------------> Java SDK Selection:
------------------- "JVM Directory" = [] Enter new JVM Directory OR [Exit][Previous][Next]> /bea/jdk/jdk1.6.0_37 <------------------- Fusion Middleware Configuration Wizard ------------------> Java SDK Selection:
------------------- "JVM Directory" = [/bea/jdk/jdk1.6.0_37] Enter new JVM Directory OR [Exit][Previous][Next]> <------------------- Fusion Middleware Configuration Wizard ------------------> Select Optional Configuration:
------------------------------ 1|Administration Server [ ]
2|Managed Servers, Clusters and Machines [ ]
3|RDBMS Security Store [ ] Enter index number to select OR [Exit][Previous][Next]> 1 <------------------- Fusion Middleware Configuration Wizard ------------------> Select Optional Configuration:
------------------------------ 1|Administration Server [x]
2|Managed Servers, Clusters and Machines [ ]
3|RDBMS Security Store [ ] Enter index number to select OR [Exit][Previous][Next]> <------------------- Fusion Middleware Configuration Wizard ------------------> Configure the Administration Server:
------------------------------------ Each WebLogic Server domain must have one Administration Server. The
Administration Server is used to perform administrative tasks. | Name | Value |
_|__________________|_____________________|
1| *Name: | AdminServer |
2| *Listen address: | All Local Addresses |
3| Listen port: | 7001 |
4| SSL listen port: | N/A |
5| SSL enabled: | false | Use above value or select another option:
1 - Modify "Name"
2 - Modify "Listen address"
3 - Modify "Listen port"
4 - Modify "SSL enabled" Enter option number to select OR [Exit][Previous][Next]> <------------------- Fusion Middleware Configuration Wizard ------------------> Creating Domain... 0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************] **** Domain Created Successfully! ****

配置交互过程

  •   选生产模式,修改weblogic密码,修改默认端口64352等。
  •   创建较慢,提前修改:
cd /weblogic/jdk1..0_191/jre/lib/security
vi java.security securerandom.source=file:/dev/./urandom

启动weblogic server:

  •   先到目录下手动启动
cd /weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain
./startWebLogic.sh
  •   设置自启动:
cd /weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/servers/AdminServer
mkdir security
cd security/
vi boot.properties
username=weblogic
password=web1rsgl#

cd /weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain
  nohup sh startWebLogic.sh &

机器管理server创建machine和server,供开发部署:

cd /weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/server
nohup sh startManagedWebLogic.sh Server- http://127.0.0.1:64352 &

weblogic安装升级配置的更多相关文章

  1. weblogic 安装与配置

    Weblogic 安装 从官网 下载 需要的weblogic 版本, 解压缩后得到 wls1036_generic.jar [fmw_12.1.3.0.0_wls.jar , fmw_12.2.1.1 ...

  2. weblogic 安装及配置

    修改AdminServer为不需要输入密码的方式开启 : 安装使用的是production模式,不是开发模式,如果要后台启动Weblogic, 需要在如下DOMAIN_HOME/servers/Adm ...

  3. weblogic安装及配置

    WebLogic是用于开发.集成.部署和管理大型分布式Web应用.网络应用和数据库应用的Java应用服务器. 1.安装Weblogic:(1)点击Next按钮:(2) 选择Custom后点击Next按 ...

  4. Weblogic安装与配置图文详解

    Weblogic是什么Weblogic的安装Weblogic创建域Weblogic管理域Weblogic的应用Weblogic是什么 Weblogic这是我入职以后第一次接触到的词汇,我很陌生,就从我 ...

  5. Linux下Weblogic 11g R1安装和配置

    自己留着好好看看! 文章摘自 :http://blog.163.com/ng_0125@126/blog/static/170162360201311773235995/ 1.  安装前 1  确定w ...

  6. 【无网条件下】Linux系统、jdk、redis及集群、rabbitmq、nginx、weblogic和oracle安装及配置

    本篇文章为原创,仅供参考使用,如果需要文章中提到的所有软件安装包和依赖包(即data),请以博客园邮箱联系获取链接. 准备资料 软件 主要软件包版本 路径 系统镜像 CentOS-6.10-x86_6 ...

  7. MyEclipse+Weblogic+Oracle+PLSQL配置注意事项

    Weblogic配置详情:<Weblogic安装与配置图文详解>Oracle+PLSQL配置详情:<PL/SQL访问远程Oracle服务器(多种方式)>MyEclipse配置: ...

  8. Weblogic的安装、配置与应用部署

    1. Weblogic安装 1.1 Linux下安装过程 安装环境: 操作系统: redhat-release-5Server-5.4.0.3 Weblogic版本: Weblogic 9.24 1) ...

  9. Weblogic的安装与配置

    安装准备  下载WebLogic10.2 for x86 linux安装文件: 安装RHEL 5.4: 检查Linux环境,确保安装目录所在的文件系统空闲空间在2G以上.如果空间不足,则应扩展root ...

随机推荐

  1. dojo里添加目录树

    其实循环生成目录树这个方法不仅仅局限于在使用dojo的情况下,只要明白了其中的原理,在任何一种语言下都能动态循环生成. 1. 数据结构 在这里先说明一下数据结构,我这里循环生成目录树的数据结构是像这样 ...

  2. swift-UIPickerView(选择控件)

    import UIKit //UIPickerView 的委托协议是 UIPickerViewDelegate,数据源是 UIPickerViewDataSource.我们需要在视图控制器中声明实现 ...

  3. cmake安装

    下载之后 1.解压 root@zsh-linux:/opt#tar -zxvf  cmake-2.8.4.tar.gz 2.然后 cd 到cmake-2.8.4目录下  安装 root@zsh-lin ...

  4. Linux一行命令处理批量文件

    前言 最好的方法不一定是你最快能想到的.这里提供一种使用sed命令构造命令解决处理批量文件的技巧,供参考. 需求案例1 将当前目录下所有的0_80_91.txt.0_80_92.txt.0_80_93 ...

  5. Mongodb到mysql数据库的数据迁移(Java,Windows)

    运行环境为windows 测试过260万的数据表,迁移大概要10分钟左右,当然肯定和网络,字段大小什么的有关系. 遇到的坑和注意点都用紫色标记了(对,就是我大乃团的高冷紫--Nogizaka 46) ...

  6. .net 语音,视频等格式转换

    最近在做微信公众号开发的时候遇到一个问题,就是微信接收到语音消息的格式为amr,在网页上通常不能直接播放,需要先转为mp3,于是找到了一个办法,使用ffmpeg.exe,网上可以搜一下ffmpeg.e ...

  7. 使用其他分支替换master分支

    在提交混乱的时候, 导致master分支和远程仓库完全一致的时候,这时候解决这种问题可以创建一个新的分支, 再合并到master分支, 像这样: git checkout seotweaks git ...

  8. failed to find global analyzer [uax_url_email]

    ES的默认分词设置是standard,这个在中文分词时就比较尴尬了,会单字拆分,比如我搜索关键词“清华大学”,这时候会按“清”,“华”,“大”,“学”去分词,然后搜出来的都是些“清清的河水”,“中华儿 ...

  9. Flash AS3)actionScript代码制作文字渐变 + 描边

    var sp:Sprite = new Sprite; //容器,放置稍后的渐变背景和文本框 this.addChild(sp); //容器添加到舞台 var maskMC:MovieClip = n ...

  10. 拦截过滤防御XSS攻击 -- Struts2.3 以及 2.5 的解决方式

    使用Struts2框架开发的后台在防御XSS攻击的时候很多方式都不能用,因为Struts2对请求进行的二次封装有区别.以下针对Struts2的XSS攻击进行拦截过滤防御解决: Struts2.3 本方 ...