Drew 6 years ago
parent
commit
532ed5fa9d

+ 1 - 1
src/main/webapp/index.jsp

@@ -1,7 +1,7 @@
 <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 <%
 	String path = request.getContextPath();
-	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+	String basePath = "/thmodelMgr/";
 %>
 
 <!DOCTYPE HTML>

+ 1 - 1
src/main/webapp/login.jsp

@@ -15,7 +15,7 @@
 <%@ page import="net.sf.json.JSONObject" %>
     <%
 	String path = request.getContextPath();
-	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+	String basePath = "/thmodelMgr/";
     javax.sql.rowset.CachedRowSet rs = null;
     String username = request.getParameter("username");
     String userPwd = request.getParameter("userPwd");

+ 1 - 1
src/main/webapp/member/brokerinfor.jsp

@@ -9,7 +9,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   String BrokerPK = ExtendString.getDBStr( (String)session.getAttribute("BrokerPK") );
   String userpk   = ExtendString.getDBStr( (String)session.getAttribute("userpk"));
   String username = ExtendString.getDBStr( (String)session.getAttribute("username"));

+ 1 - 1
src/main/webapp/member/brokerinfor_.jsp

@@ -11,7 +11,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <% 
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   String defaultDate = DateUtil.getYMDHMS();
   String memberpk = ExtendString.getDBStr( request.getParameter("memberpk") );
   String superpk = ExtendString.getDBStr( request.getParameter("superpk") );  

+ 1 - 1
src/main/webapp/member/jinjiren.jsp

@@ -9,7 +9,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   String BrokerPK = ExtendString.getDBStr( (String)session.getAttribute("BrokerPK") );
   String userpk   = ExtendString.getDBStr( (String)session.getAttribute("userpk"));
   String username = ExtendString.getDBStr( (String)session.getAttribute("username"));

+ 1 - 1
src/main/webapp/member/jinjiren_.jsp

@@ -12,7 +12,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page"/>
 <%
     String path = request.getContextPath();
-    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
+    String basePath = "/thmodelMgr/";
     String defaultDate = DateUtil.getYMDHMS();
     String memberpk = ExtendString.getDBStr(request.getParameter("memberpk"));//经纪人memberpk
     String superpk = ExtendString.getDBStr(request.getParameter("superpk"));  //机构pk

+ 1 - 1
src/main/webapp/member/model.jsp

@@ -9,7 +9,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
 	String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   String Sess_BrokerPK = ExtendString.getDBStr( (String)session.getAttribute("BrokerPK") );
   String userpk   = ExtendString.getDBStr( (String)session.getAttribute("userpk"));
   String username = ExtendString.getDBStr( (String)session.getAttribute("username"));

+ 1 - 1
src/main/webapp/member/model_.jsp

@@ -14,7 +14,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page"/>
 <%
     String path = request.getContextPath();
-    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
+    String basePath = "/thmodelMgr/";
     String defaultDate = DateUtil.getYMDHMS();
     String JJRmemberpk = ExtendString.getDBStr(request.getParameter("bmemberpk"));//经纪人memberpk
     String JJRbrokepk = ExtendString.getDBStr(request.getParameter("brokepk"));   //经纪人pk

+ 1 - 1
src/main/webapp/member/model__.jsp

@@ -28,7 +28,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection"/>
 <%
     String path = request.getContextPath();
-    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
+    String basePath = "/thmodelMgr/";
 
     String operator = ExtendString.getDBStr(request.getParameter("operator"));
     String memberpk = ExtendString.getDBStr(request.getParameter("memberpk"));

+ 1 - 1
src/main/webapp/member/orderlist.jsp

@@ -13,7 +13,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page"/>
 <%
     String path = request.getContextPath();
-    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
+    String basePath = "/thmodelMgr/";
 
     int modelinfopk = Integer.parseInt(request.getParameter("modelinfopk"));
 

+ 1 - 1
src/main/webapp/member/query_jinjiren.jsp

@@ -9,7 +9,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page"/>
 <%
     String path = request.getContextPath();
-    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
+    String basePath = "/thmodelMgr/";
     String Sess_BrokerPK = ExtendString.getDBStr((String) session.getAttribute("BrokerPK"));
     String userpk = ExtendString.getDBStr((String) session.getAttribute("userpk"));
     String username = ExtendString.getDBStr((String) session.getAttribute("username"));

+ 1 - 1
src/main/webapp/member/query_model.jsp

@@ -11,7 +11,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page"/>
 <%
     String path = request.getContextPath();
-    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
+    String basePath = "/thmodelMgr/";
     String Sess_BrokerPK = ExtendString.getDBStr((String) session.getAttribute("BrokerPK"));
     String userpk = ExtendString.getDBStr((String) session.getAttribute("userpk"));
     String username = ExtendString.getDBStr((String) session.getAttribute("username"));

+ 1 - 1
src/main/webapp/member/query_model_bak.jsp

@@ -9,7 +9,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page"/>
 <%
     String path = request.getContextPath();
-    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
+    String basePath = "/thmodelMgr/";
     String Sess_BrokerPK = ExtendString.getDBStr((String) session.getAttribute("BrokerPK"));
     String userpk = ExtendString.getDBStr((String) session.getAttribute("userpk"));
     String username = ExtendString.getDBStr((String) session.getAttribute("username"));

+ 1 - 1
src/main/webapp/member/query_withdraw.jsp

@@ -24,7 +24,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection"/>
 <%
     String path = request.getContextPath();
-    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
+    String basePath = "/thmodelMgr/";
     String BrokerPK = (String) session.getAttribute("BrokerPK");
     String BMemberPK = (String) session.getAttribute("memberpk");
     System.out.println("BrokerPK:" + BrokerPK);

+ 1 - 1
src/main/webapp/menu_broker.jsp

@@ -5,7 +5,7 @@
 <%@ page contentType="text/html;charset=utf-8" %>
     <%
 	String path = request.getContextPath();
-	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+	String basePath = "/thmodelMgr/";
 %>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>

+ 1 - 1
src/main/webapp/menu_system.jsp

@@ -4,7 +4,7 @@
 <%@ page contentType="text/html;charset=utf-8"%>
 <% 
 	String path = request.getContextPath();
-	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+	String basePath = "/thmodelMgr/";
 %>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>

+ 1 - 3
src/main/webapp/other/index.jsp

@@ -4,9 +4,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
 	String path = request.getContextPath();
-	String basePath = request.getScheme() + "://"
-			+ request.getServerName() + ":" + request.getServerPort()
-			+ path + "/";
+	String basePath = "/thmodelMgr/";
 	javax.sql.rowset.CachedRowSet rs = null;
 
 	

+ 1 - 3
src/main/webapp/other/index_.jsp

@@ -4,9 +4,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
 	String path = request.getContextPath();
-	String basePath = request.getScheme() + "://"
-			+ request.getServerName() + ":" + request.getServerPort()
-			+ path + "/";
+	String basePath = "/thmodelMgr/";
 	javax.sql.rowset.CachedRowSet rs = null;
 
 	

+ 1 - 3
src/main/webapp/other/iqrqry.jsp

@@ -5,9 +5,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
 	String path = request.getContextPath();
-	String basePath = request.getScheme() + "://"
-			+ request.getServerName() + ":" + request.getServerPort()
-			+ path + "/";
+	String basePath = "/thmodelMgr/";
 	javax.sql.rowset.CachedRowSet rs = null;
 
 	

+ 1 - 3
src/main/webapp/other/iqrqry_.jsp

@@ -5,9 +5,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
 	String path = request.getContextPath();
-	String basePath = request.getScheme() + "://"
-			+ request.getServerName() + ":" + request.getServerPort()
-			+ path + "/";
+	String basePath = "/thmodelMgr/";
 	javax.sql.rowset.CachedRowSet rs = null;
 
 	

+ 1 - 3
src/main/webapp/other/iwelcome_.jsp

@@ -4,9 +4,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
 	String path = request.getContextPath();
-	String basePath = request.getScheme() + "://"
-			+ request.getServerName() + ":" + request.getServerPort()
-			+ path + "/";
+	String basePath = "/thmodelMgr/";
 	
 %>	
 <!DOCTYPE html>

+ 1 - 1
src/main/webapp/system/ModelCard.jsp

@@ -8,7 +8,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   
   int items_per_page = 10;
   javax.sql.rowset.CachedRowSet rs = null;

+ 2 - 2
src/main/webapp/system/ModelCard_.jsp

@@ -10,8 +10,8 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <% 
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
-  String ImageBasePath = request.getScheme()+"://"+request.getServerName()+"/";
+  String basePath = "/thmodelMgr/";
+  String ImageBasePath = "/";
   String defaultDate = DateUtil.getYMDHMS();
   String pk = ExtendString.getDBStr( request.getParameter("pk") );
   String operator = ExtendString.getDBStr( request.getParameter("operator") );  

+ 1 - 1
src/main/webapp/system/ParttyInfo.jsp

@@ -8,7 +8,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   
   int items_per_page = 10;
   javax.sql.rowset.CachedRowSet rs = null;

+ 1 - 1
src/main/webapp/system/changepass.jsp

@@ -10,7 +10,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <% 
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   String memberpk = ExtendString.getDBStr( request.getParameter("memberpk") );
   String password = ExtendString.getDBStr( request.getParameter("password") );  
   String operator = ExtendString.getDBStr( request.getParameter("operator") );  

+ 1 - 1
src/main/webapp/system/datatypeinfo.jsp

@@ -8,7 +8,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   
   int items_per_page = 10;
   javax.sql.rowset.CachedRowSet rs = null;

+ 1 - 1
src/main/webapp/system/datatypeinfo_.jsp

@@ -10,7 +10,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <% 
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   String defaultDate = DateUtil.getYMDHMS();
   String infopk = ExtendString.getDBStr( request.getParameter("infopk") );
   String typename = ExtendString.getDBStr( request.getParameter("typename") );  

+ 1 - 1
src/main/webapp/system/memberInfo_.jsp

@@ -10,7 +10,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page"/>
 <%
     String path = request.getContextPath();
-    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
+    String basePath = "/thmodelMgr/";
     String Sess_BrokerPK = ExtendString.getDBStr((String) session.getAttribute("BrokerPK"));
     String userpk = ExtendString.getDBStr((String) session.getAttribute("userpk"));
     String username = ExtendString.getDBStr((String) session.getAttribute("username"));

+ 1 - 1
src/main/webapp/system/parttysign.jsp

@@ -8,7 +8,7 @@
 <jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
 <%
   String path = request.getContextPath();
-  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+  String basePath = "/thmodelMgr/";
   
   int items_per_page = 10;
   javax.sql.rowset.CachedRowSet rs = null;