| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <%@page import="com.ccgj.platform.admin.USERAction"%>
- <%@taglib uri="/struts-tags" prefix="s"%>
- <%@ page language="java" contentType="text/html; charset=utf-8"%>
- <%@ page pageEncoding="utf-8"%>
- <%
- String path = request.getContextPath();
- String basePath = request.getScheme() + "://"
- + request.getServerName() + ":" + request.getServerPort()
- + path + "/";
- String paramStr = java.net.URLDecoder.decode(request.getQueryString(),"utf-8");;
- String [] params = paramStr.split("&");
- String wzid=params[0].split("=")[1];
- String userfullname=params[1].split("=")[1];
- String username=params[2].split("=")[1];
- String userid=params[3].split("=")[1];
- String ldps=params[4].split("=")[1];
- if(ldps==""||ldps==null){
- %>
- <script>
- alert("请先填写批示意见!");
- window.location.href="<%=basePath%>main/<%=wzid%>_0/news_xxjb.html";
- </script>
- <%
- }
- String shortStr=" ";
- boolean b = new USERAction().addLdps(shortStr+ldps, wzid, userfullname, username, userid);
- if(b){
- %>
- <script>
- alert("提交成功");
- window.location.href="<%=basePath%>main/<%=wzid%>_0/news_xxjb.html";
- </script>
- <%
- }else{
- %>
- <script>
- alert("网络繁忙,请稍后重试!");
- window.location.href="<%=basePath%>main/<%=wzid%>_0/news_xxjb.html";
- </script>
- <%} %>
|