From 1e2eead40a25015013e67ca5de2b1698c72edaf7 Mon Sep 17 00:00:00 2001
From: lxw <lxw@192.168.10.12>
Date: 星期一, 27 四月 2020 15:56:39 +0800
Subject: [PATCH] 1

---
 webSockTest/src/struts.xml |   42 ++++++++++++++++++++++--------------------
 1 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/webSockTest/src/struts.xml b/webSockTest/src/struts.xml
index c368a2f..bc87609 100644
--- a/webSockTest/src/struts.xml
+++ b/webSockTest/src/struts.xml
@@ -1,20 +1,22 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE struts PUBLIC
-	"-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"
-	"http://struts.apache.org/dtds/struts-2.1.dtd">
-<struts>
-	<!-- 閰嶇疆寮�鍙戞ā寮� -->
-	<constant name="struts.devMode" value="false"></constant>
-	
-	<constant name="struts.custom.i18n.resources" value="global"/>
-	
-	<constant name="struts.multipart.maxSize" value ="1024000000" />
-	
-    <package name="default" namespace="/" extends="json-default" >
-   
-        <action name="*!*" class="com.fgkj.actions.{1}" method="{2}">
-        	<result type="json"></result>
-        </action>
-       
-   </package>
-</struts>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE struts PUBLIC
+	"-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"
+	"http://struts.apache.org/dtds/struts-2.1.dtd">
+<struts>
+	<!-- 閰嶇疆寮�鍙戞ā寮� -->
+	<constant name="struts.devMode" value="false"></constant>
+	
+	<constant name="struts.custom.i18n.resources" value="global"/>
+	
+	<constant name="struts.multipart.maxSize" value ="1024000000" />
+	
+	<constant name="struts.action.excludePattern" value="/ws/.*,ws://.*"></constant>
+	
+    <package name="default" namespace="/" extends="json-default" >
+   
+        <action name="*!*" class="com.fgkj.actions.{1}" method="{2}">
+        	<result type="json"></result>
+        </action>
+       
+   </package>
+</struts>

--
Gitblit v1.9.1