页面跳转返回问题

关于#html5#的问题:H5页面用户手机返回的时候跳转到指定页面? 🏆本文收录于专栏,主要记录项目实战过程中所遇到的Bug或因后果及提供真实有效的解决方案,希望能够助你一臂之力,帮你早日登顶实现财富自由🚀;同时,欢迎大家!持续更新中,up!up!up!! 阅读详情

zixun.jsp

 

<%@ page contentType="text/html; charset=GBK"%>
<%@page import="com.sytax.xxfb.xxfbForm"%>
<%@page import="com.sytax.xxfb.xxfbCtrl"%>
<%@page import="java.util.ArrayList"%>
<%@ include file="/global.jsp"%>
<%@ page import="com.sytax.oa.zixun.*"%>

<%@ page import="com.sytax.global.CodeTable"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@page import="com.sytax.oa.menu.function.FunctionForm"%>
<%@page import="com.sytax.oa.menu.function.FunctionCtrl"%>
<%
 String intidStr = session.getAttribute("menu_function_intid") != null ? (String) session
   .getAttribute("menu_function_intid")
   : "0";
%>

<%
 CodeTable ctrl = new CodeTable();
 String webjspPath = request.getContextPath();
%>
<html:html>
<head>
 <title>查询咨询</title>
 <link href="<%=webPath%>/resources/css/skin/<%=skinStr%>/common.css"
  rel="stylesheet" type="text/css">
 <script language="JavaScript"
  src="<%=webPath%>/resources/javascript/article.js"></script>
 <script language="JavaScript"
  src="<%=webPath%>/resources/javascript/page_goto.js"></script>
 <script language="JavaScript"
  src="<%=webPath%>/resources/javascript/to_check.js"></script>
 <script>
 function forback(){
   alert("确定要退出吗?");
   document.zixunForm.flag.value=0;
      document.zixunForm.action="<%=webPath%>/zixun/zixunAction.do";
      document.zixunForm.submit();

}
var
 proi='1';
 
 function onSelect(sel){
 document.getElementById(proi).bgColor='';//鼠标单击事件该行变颜色
 document.getElementById(sel).bgColor='#73C7F6';
 proi=sel;
        return true;
}
function onDbClick(liushui){//表格的双击事件提交查询咨询详细信息
  
  document.getElementById("LIUSHUI").value=liushui;
   document.zixunForm.flag.value=3;
      document.zixunForm.action="<%=webPath%>/zixun/zixunAction.do?";
      document.zixunForm.submit();
 
}
</script>
</head>
<body>
 <html:form action="zixun/zixunAction" method="post">
  <html:hidden property="flag" />
  <html:hidden property="strSQL" />
  <html:hidden property="LIUSHUI" />
  <html:hidden property="strCount" />
  <input type="hidden" name="radioCount"
   value="<%=request.getAttribute("Note") != null ? request
         .getAttribute("Note")
         : "0"%>">
  <table width="100%" border="0" cellspacing="0" cellpadding="0"
   class="txt12">
   <tr>
    <td class="bgcolor_detail">
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
       <td class="bgcolor_detail" height="5"></td>
      </tr>
      <tr>
       <td class="bgcolor_detail">

        <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr>
          <td class="bgcolor_detail" height="5"></td>
         </tr>
         <tr>
          <td class="bgcolor_detail">
           <table width="100%" border="0" cellspacing="0"
            cellpadding="0" class="txt12">
            <tr>
             <td width="10">
              &nbsp;
             </td>
             <td valign="middle">
              <img
               src="<%=webPath%>/resources/images/skin/<%=skinStr%>/txt_b_back.gif"
               onMouseOut="MM_swapImgRestore()"
               onMouseOver="MM_swapImage('Image4','','<%=webPath%>/resources/images/skin/<%=skinStr%>/txt_b_back_2.gif',1)"
               width="60" height="25" border="0" name="Image4"
               align="absmiddle" onclick="javascript:forback();"
               style="cursor: hand">
             </td>
             <td width="500" align="right" valign="middle">
              <img
               src="<%=webPath%>/resources/images/skin/<%=skinStr%>/to_b_3left_default.gif"
               width="29" height="25" border="0" name="Image1"
               align="absmiddle"
               onclick="return Btn_OnClick('zixunForm','begin','g_pagenum','currpage')"
               style="cursor: hand">
              <img
               src="<%=webPath%>/resources/images/skin/<%=skinStr%>/to_b_2left_default.gif"
               width="29" height="25" border="0" name="Image7"
               align="absmiddle"
               onclick="return Btn_OnClick('zixunForm','previous','g_pagenum','currpage')"
               style="cursor: hand">
              <img
               src="<%=webPath%>/resources/images/skin/<%=skinStr%>/to_b_2right_default.gif"
               width="29" height="25" border="0" name="Image10"
               align="absmiddle"
               onclick="return Btn_OnClick('zixunForm','next','g_pagenum','currpage')"
               style="cursor: hand">
              <img
               src="<%=webPath%>/resources/images/skin/<%=skinStr%>/to_b_3right_default.gif"
               width="29" height="25" border="0" name="Image6"
               align="absmiddle"
               onclick="return Btn_OnClick('zixunForm','end','g_pagenum','currpage')"
               style="cursor: hand">
              &nbsp;
              <html:text property="g_pagenum" readonly="true"
               style="width:4%" />
              <span class="style1">/</span>
              <html:text property="currpage" style="width:4%" />
              <font color="#FFFFFF">页</font>
              <img
               src="<%=webPath%>/resources/images/skin/<%=skinStr%>/go1.gif"
               onMouseOut="MM_swapImgRestore()"
               onMouseOver="MM_swapImage('Image111','','<%=webPath%>/resources/images/skin/<%=skinStr%>/go2.gif',1)"
               width="29" height="25" border="0" name="Image111"
               align="absmiddle"
               onclick="return Btn_OnClick('ZXForm','jump','g_pagenum','currpage')"
               style="cursor: hand">
              &nbsp;
              <font color="#FFFFFF">共<%=request.getAttribute("Note") != null ? request
         .getAttribute("Note")
         : "0"%>条</font>
              &nbsp;
              <a href="javascript:user79Detail()"
               onMouseOut="MM_swapImgRestore()"
               onMouseOver="MM_swapImage('Image11','','<%=webPath%>/resources/images/skin/<%=skinStr%>/NEW2_to_b_c2.gif',1)"><img
                src="<%=webPath%>/resources/images/skin/<%=skinStr%>/NEW2_to_b_cl.gif"
                width="29" height="25" border="0" name="Image11">
              </a>&nbsp;
             </td>

             <td width="10">
              &nbsp;
             </td>
            </tr>
           </table>
          </td>
         </tr>
        </table>
       </td>
      </tr>
      <tr>
       <td class="bgcolor_detail" height="5"></td>
      </tr>
     </table>

    </td>
   </tr>
   <tr>
    <td>
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr class="tb_cl5" height="25">
       <td width="3%">
        <div align="center">
         序号
        </div>
       </td>
       <td width="12%">
        <div align="center">
         受理流水号
        </div>
       </td>
       <td width="7%">
        <div align="center">
         受理工号
        </div>
       </td>
       <td width="5%">
        <div align="center">
         来电号码
        </div>
       </td>
       <td width="10%">
        <div align="center">
         咨询分类
        </div>
       </td>
       <td width="18%">
        <div align="center">
         咨询内容
        </div>
       </td>
       <td width="13%">
        <div align="center">
         备注
        </div>
       </td>
       <td width="6%">
        <div align="center">
         答复状态
        </div>
       </td>

       <td width="15%">
        <div align="center">
         咨询时间
        </div>
       </td>
       <td width="5%">
        <div align="center">
         是否派单
        </div>
       </td>
       
      </tr>
      <%
       String notes = request.getAttribute("Note") != null ? (String) request
           .getAttribute("Note")
           : "";
         String noteStr = "";
         if ("0".equals(notes)) {
          noteStr = "查询结果为空!";
      %>
      <tr class="tb_cl6">
       <td height="5" colspan="7">
        <font color="#FF0000"><%=noteStr%></font>
       </td>
      </tr>

      <%
       }
         ZXForm[] list_view_temp = (ZXForm[]) request
           .getAttribute("listdata");

         if (list_view_temp != null) {
          ZXCtrl c = new ZXCtrl();
      %>
      <%
       int i = 0;
      %>
      <logic:iterate id="listdata1" name="listdata"
       type="com.sytax.oa.zixun.ZXForm">

       <%
        i = i + 1;
       %>
       <tr id="<%=i%>" class="tb_cl6"
        onMouseOut="this.style.backgroundColor=''" align="center"
         onMouseOver="this.style.backgroundColor='#73C7F6'"
        ondblclick="javascript:onDbClick('<%=listdata1.getLIUSHUI()%>');"
        onClick="javascript:return onSelect('<%=i%>');"
        style="cursor: hand">


        <td align="center" height="25">
         <%=i%>

        </td>

        <td align="center" height="25">
         <%=listdata1.getLIUSHUI()%>

        </td>


        <td align="center" height="25">
         <%=listdata1.getGONGHAO()%>

        </td>
        <td align="center" height="25">
         <%=listdata1.getDIANHUA()%>

        </td>


        <td align="center" height="25">
         <%=listdata1.getFenLei()%>

        </td>
        <td align="center" height="25">
         <%=listdata1.getNEIRONG()%>

        </td>

        <td align="center" height="25">
         <%=listdata1.getBEIZHU()%>

        </td>


        <td align="center" height="25">
         <%=listdata1.getDAFU_ZHUANGTAI()%>

        </td>

        <td align="center" height="25">
         <%=listdata1.getSLTIME()%>

        </td>
        <td align="center" height="25">
         <%=listdata1.getPD_FALSE()%>

        </td>

       </tr>
      </logic:iterate>
      <%
       }
      %>
     </table>
    </td>
   </tr>
  </table>
  <font color="#FF0000"><%=request.getAttribute("return_info") != null ? request
         .getAttribute("return_info")
         : ""%></font>
 </html:form>
</body>
</html:html>

 

 

<%@ page contentType="text/html; charset=GBK"%>
<%@page import="com.sytax.xxfb.xxfbForm"%>
<%@page import="com.sytax.xxfb.xxfbCtrl"%>
<%@page import="java.util.ArrayList"%>
<%@ include file="/global.jsp" %>
<%@ page import ="com.sytax.oa.zixun.*" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@page import="com.sytax.oa.menu.function.FunctionForm"%>
<%@page import="com.sytax.oa.menu.function.FunctionCtrl"%>
<%@ page import="com.sytax.global.CodeTable"%>
<%
 String intidStr=session.getAttribute("menu_function_intid")!=null?(String)session.getAttribute("menu_function_intid"):"0";
%>
<%
 String path = request.getContextPath();
 String basePath = request.getScheme() + "://"
   + request.getServerName() + ":" + request.getServerPort()
   + path + "/";
%>
<%
 ZXForm  data = (ZXForm) request
   .getAttribute("selectByLiushui");
%>

<%
 CodeTable ctrl=new CodeTable();
 String webjspPath=request.getContextPath(); 
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head>
  <base href="<%=basePath%>">

  <title>电话咨询查看</title>

  <meta http-equiv="pragma" content="no-cache">
  <meta http-equiv="cache-control" content="no-cache">
  <meta http-equiv="expires" content="0">
  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  <meta http-equiv="description" content="This is my page">
  
<link href="<%=webPath%>/resources/css/skin/<%=skinStr%>/common.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="<%=webPath%>/resources/javascript/to_check.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/article.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/page_goto.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/meizzDate.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/calendar.js"></script>
<script type="text/javascript" src="<%=webPath%>/resources/javascript/jquery-1.2.1.js"></script>
<script>
 function forback(){
   alert("确定要退出吗?");
   document.zixunForm.flag.value=0;
      document.zixunForm.action="<%=webPath%>/zixun/zixunAction.do";
      document.zixunForm.submit();

}

function searchxx(){

 var yhsh=document.getElementById("shuihao").value;//用户税号
 alert(yhsh);
  if(isEmpty(yhsh)){
    alert( "纳税税号不能为空");
    return false;
    }else
   
{
//定义要打开的对话框页面的地址 一般用action跳转要写明action的地址,如果需要参数,则在后面拼接
var urlDialog = "<%=webPath%>/zixun/zixunAction.do?flag=7&YHSH="+yhsh;
//$.get(urlDialog,null,goback());
//定义要弹出的对话框的模式,dialogWidth宽,dialogHeight高 等等
 var style = "dialogWidth=600px;dialogHeight=300px;status=yes;edge=sunken;help=no";

//定义一个变量来接受对话框的返回数据

var rv = window.open(urlDialog,"",style);

//如果没有返回数据的话,就直接写

//window.showModalDialog(urlDialog,"",style); 、
}
  }
  function searchmc(){

 

 var yhsh=document.getElementById("shuihao").value;
    alert(yhsh);
if(isEmpty(yhsh)){
    alert( "纳税税号不能为空");
    return false;
    }else
   
{
//定义要打开的对话框页面的地址 一般用action跳转要写明action的地址,如果需要参数,则在后面拼接
var urlDialog = "<%=webPath%>/zixun/zixunAction.do?flag=8&YHSH="+yhsh;
//$.get(urlDialog,null,goback());
//定义要弹出的对话框的模式,dialogWidth宽,dialogHeight高 等等
 var style = "dialogWidth=600px;dialogHeight=300px;status=yes;edge=sunken;help=no";

//定义一个变量来接受对话框的返回数据

var rv = window.open(urlDialog,"",style);

//如果没有返回数据的话,就直接写

//window.showModalDialog(urlDialog,"",style); 、
}
  }
</script>
 </head>

 <body>

  <html:form action="/zixun/zixunAction" method="POST" name="zixunForm"
   type="com.sytax.oa.zixun.ZXForm" scope="request">
   <html:hidden property="flag" value="tousreply" />
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="bgcolor_detail" height="5"></td>
      </tr>
      <tr>
        <td class="bgcolor_detail">
          <table width="100%" border="0" cellspacing="0" cellpadding="0" class="txt12">
            <tr>
             
              <td valign="middle">
              <img src="<%=webPath%>/resources/images/skin/<%=skinStr%>/txt_b_back.gif" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','<%=webPath%>/resources/images/skin/<%=skinStr%>/txt_b_back_2.gif',1)" width="60" height="25" border="0" name="Image4" align="absmiddle" onclick="javascript:forback();" style="cursor:hand">
          
              </td>
            
  <td width="10">&nbsp;</td>
            </tr>
          <tr>
    <td class="bgcolor_detail" height="5"></td>
   </tr>
        
          </table>
        </td>
      
       
      </tr>
      <tr>
        <td class="bgcolor_detail" height="5"></td>
      </tr>
    </table>
   <table align="center">
   
   <tr>
           <td class="border1" width="20%" height="25"><div align="center">
      用户税号:
     </td>
     <td class="border1" width="30%">
      <input id="shuihao" name="shuihao" readonly="true" size = "50"
       value="<%=data.getYHSH()%>">
     </td>
      <td>
      
       <a href="javascript:searchxx();" style="text-decoration:underline">
                            <font color="blue" >纳税人基本信息</font>
                       </a>
      
      
     </td>
    </tr>
    <tr>
           <td class="border1" width="20%" height="25"><div align="center">
      用户名称:
     </td>
     <td class="border1" width="30%">
      <input id="ymc" name="ymc" readonly="true" size = "50"
       value="<%=data.getYHNAME()%>">
     </td>
     <td>
      
       <a href="javascript:searchmc();" style="text-decoration:underline">
                            <font color="blue">缴费信息查询</font>
                       </a>
      
      
     </td>
     </tr>
   <tr>
      <td class="border1" width="13%" height="25"><div align="center">
      流水号:
     </td>
     <td class="border1" width="30%">
      <input id="liushui" name="liushui" readonly="true" size = "50"
       value="<%=data.getLIUSHUI()%>">
     </td>
    
      
      <td class="border1" width="13%" height="25"><div align="center">
      工号:
     </div></td>
     <td class="border1" width="20%">
      <input id="gonghao" name="gonghao" readonly="true"  size = "50"
       value="<%=data.getGONGHAO()%>">
     </td>
      </tr>
   
    <tr>
      <td class="border1" width="13%" height="25"><div align="center">
      来电人姓名:
     </td>
     
     <td class="border1" width="20%">
      <input id="xingming" name="xingming" readonly="true"  size = "50"
       value="<%=data.getXINGMING()%>">
     </td>

    
      <td class="border1" width="13%" height="25"><div align="center">
      来电人性别:
     </td>
     <td class="border1" width="30%">
      <input id="xingbie" name="xingbie" readonly="true" size = "50"
       value="<%=data.getXINGBIE()%>">
     </td>
     </tr>
   
    <tr>
     <td class="border1" width="13%" height="25"><div align="center">
      来电人电话号码:
     </td>
     <td class="border1" width="30%">
      <input id="dianhua" name="dianhua" readonly="true" size = "50"
       value="<%=data.getDIANHUA()%>">
     </td>
     
      <td class="border1" width="20%" height="25"><div align="center">
      来话时间:
     </td>
     <td class="border1" width="30%">
      <input id="shijian" name="shijian" readonly="true" size = "50"
       value="<%=data.getSHIJIAN()%>">
     </td>
     </tr>
     <tr>
     <td class="border1" width="13%" height="25"><div align="center">
      来电人地址:
     </td>
     <td class="border1" width="30%">
      <input id="address" name="address" readonly="true" size = "50"
       value="<%=data.getDIZHI()%>">
     </td>
     
      <td class="border1" width="20%" height="25"><div align="center">
      受理满意度:
     </td>
     <td class="border1" width="30%">
      <input id="sl_myd" name="sl_myd" readonly="true" size = "50"
       value="<%=data.getSL_MYD()%>">
     </td>
     </tr>
     <tr>
           <td class="border1" width="20%" height="25"><div align="center">
      答复状态:
     </td>
     <td class="border1" width="30%">
      <input id="dafu" name="dafu" readonly="true" size = "50"
       value="<%=data.getDAFU_ZHUANGTAI()%>">
     </td>
      <td class="border1" width="20%" height="25"><div align="center">
      咨询分类:
     </td>
     <td class="border1" width="30%">
      <input id="fenlei" name="fenlei" readonly="true" size = "50"
       value="<%=data.getFenLei()%>">
     </td>
    </tr>
    <tr>
          <td class="border1" width="20%" height="25"><div align="center">
      受理时间:
     </td>
     <td class="border1" width="30%">
      <input id="slshijian" name="slshijian" readonly="true" size = "50"
       value="<%=data.getSLTIME()%>">
     </td>
      <td class="border1" width="20%" height="25"><div align="center">
      是否派单:
     </td>
     <td class="border1" width="30%">
      <input id="paidan" name="paidan" readonly="true" size = "50"
       value="<%=data.getPD_FALSE()%>">
     </td>
    </tr>
    
    <tr>
      <td class="border1" width="20%" height="25"><div align="center">
      备注:
     </td>
     <td class="border1" width="30%">
      <textarea name="beizhu" cols=40 rows=6 readonly="true">
 <%=data.getBEIZHU()%>
   </textarea>
     </td>
    
      <td class="border1" width="20%" height="25" ><div align="center">
      咨询内容:
     </td>
     <td class="border1" width="30%">
      <textarea name="neirong" cols=40 rows=6 readonly="true">
 <%=data.getNEIRONG()%>
   </textarea>
     </td>
     <td>
     <a href="#">咨询</a>
     </td>
    </tr>
    
    
   </table>

      <font color="#FF0000"><%=request.getAttribute("return_info")!=null?request.getAttribute("return_info"):""%></font>
  </html:form>
 </body>
</html>

 

zixun_reply.jsp
<%@ page contentType="text/html; charset=GBK"%>
<%@page import="com.sytax.xxfb.xxfbForm"%>
<%@page import="com.sytax.xxfb.xxfbCtrl"%>
<%@page import="java.util.ArrayList"%>
<%@ include file="/global.jsp" %>
<%@ page import ="com.sytax.oa.zixun.*" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@page import="com.sytax.oa.menu.function.FunctionForm"%>
<%@page import="com.sytax.oa.menu.function.FunctionCtrl"%>
<%@ page import="com.sytax.global.CodeTable"%>
<%
 String intidStr=session.getAttribute("menu_function_intid")!=null?(String)session.getAttribute("menu_function_intid"):"0";
%>
<%
 String path = request.getContextPath();
 String basePath = request.getScheme() + "://"
   + request.getServerName() + ":" + request.getServerPort()
   + path + "/";
%>
<%
 ZXForm  data = (ZXForm) request
   .getAttribute("selectByLiushui");
%>

<%
 CodeTable ctrl=new CodeTable();
 String webjspPath=request.getContextPath(); 
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head>
  <base href="<%=basePath%>">

  <title>电话咨询查看</title>

  <meta http-equiv="pragma" content="no-cache">
  <meta http-equiv="cache-control" content="no-cache">
  <meta http-equiv="expires" content="0">
  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  <meta http-equiv="description" content="This is my page">
  
<link href="<%=webPath%>/resources/css/skin/<%=skinStr%>/common.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="<%=webPath%>/resources/javascript/to_check.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/article.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/page_goto.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/meizzDate.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/calendar.js"></script>
<script type="text/javascript" src="<%=webPath%>/resources/javascript/jquery-1.2.1.js"></script>
<script>
 function forback(){
   alert("确定要退出吗?");
   document.zixunForm.flag.value=0;
      document.zixunForm.action="<%=webPath%>/zixun/zixunAction.do";
      document.zixunForm.submit();

}

function searchxx(){

 var yhsh=document.getElementById("shuihao").value;//用户税号
 alert(yhsh);
  if(isEmpty(yhsh)){
    alert( "纳税税号不能为空");
    return false;
    }else
   
{
//定义要打开的对话框页面的地址 一般用action跳转要写明action的地址,如果需要参数,则在后面拼接
var urlDialog = "<%=webPath%>/zixun/zixunAction.do?flag=7&YHSH="+yhsh;
//$.get(urlDialog,null,goback());
//定义要弹出的对话框的模式,dialogWidth宽,dialogHeight高 等等
 var style = "dialogWidth=600px;dialogHeight=300px;status=yes;edge=sunken;help=no";

//定义一个变量来接受对话框的返回数据

var rv = window.open(urlDialog,"",style);

//如果没有返回数据的话,就直接写

//window.showModalDialog(urlDialog,"",style); 、
}
  }
  function searchmc(){

 

 var yhsh=document.getElementById("shuihao").value;
    alert(yhsh);
if(isEmpty(yhsh)){
    alert( "纳税税号不能为空");
    return false;
    }else
   
{
//定义要打开的对话框页面的地址 一般用action跳转要写明action的地址,如果需要参数,则在后面拼接
var urlDialog = "<%=webPath%>/zixun/zixunAction.do?flag=8&YHSH="+yhsh;
//$.get(urlDialog,null,goback());
//定义要弹出的对话框的模式,dialogWidth宽,dialogHeight高 等等
 var style = "dialogWidth=600px;dialogHeight=300px;status=yes;edge=sunken;help=no";

//定义一个变量来接受对话框的返回数据

var rv = window.open(urlDialog,"",style);

//如果没有返回数据的话,就直接写

//window.showModalDialog(urlDialog,"",style); 、
}
  }
</script>
 </head>

 <body>

  <html:form action="/zixun/zixunAction" method="POST" name="zixunForm"
   type="com.sytax.oa.zixun.ZXForm" scope="request">
   <html:hidden property="flag" value="tousreply" />
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="bgcolor_detail" height="5"></td>
      </tr>
      <tr>
        <td class="bgcolor_detail">
          <table width="100%" border="0" cellspacing="0" cellpadding="0" class="txt12">
            <tr>
             
              <td valign="middle">
              <img src="<%=webPath%>/resources/images/skin/<%=skinStr%>/txt_b_back.gif" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','<%=webPath%>/resources/images/skin/<%=skinStr%>/txt_b_back_2.gif',1)" width="60" height="25" border="0" name="Image4" align="absmiddle" onclick="javascript:forback();" style="cursor:hand">
          
              </td>
            
  <td width="10">&nbsp;</td>
            </tr>
          <tr>
    <td class="bgcolor_detail" height="5"></td>
   </tr>
        
          </table>
        </td>
      
       
      </tr>
      <tr>
        <td class="bgcolor_detail" height="5"></td>
      </tr>
    </table>
   <table align="center">
   
   <tr>
           <td class="border1" width="20%" height="25"><div align="center">
      用户税号:
     </td>
     <td class="border1" width="30%">
      <input id="shuihao" name="shuihao" readonly="true" size = "50"
       value="<%=data.getYHSH()%>">
     </td>
      <td>
      
       <a href="javascript:searchxx();" style="text-decoration:underline">
                            <font color="blue" >纳税人基本信息</font>
                       </a>
      
      
     </td>
    </tr>
    <tr>
           <td class="border1" width="20%" height="25"><div align="center">
      用户名称:
     </td>
     <td class="border1" width="30%">
      <input id="ymc" name="ymc" readonly="true" size = "50"
       value="<%=data.getYHNAME()%>">
     </td>
     <td>
      
       <a href="javascript:searchmc();" style="text-decoration:underline">
                            <font color="blue">缴费信息查询</font>
                       </a>
      
      
     </td>
     </tr>
   <tr>
      <td class="border1" width="13%" height="25"><div align="center">
      流水号:
     </td>
     <td class="border1" width="30%">
      <input id="liushui" name="liushui" readonly="true" size = "50"
       value="<%=data.getLIUSHUI()%>">
     </td>
    
      
      <td class="border1" width="13%" height="25"><div align="center">
      工号:
     </div></td>
     <td class="border1" width="20%">
      <input id="gonghao" name="gonghao" readonly="true"  size = "50"
       value="<%=data.getGONGHAO()%>">
     </td>
      </tr>
   
    <tr>
      <td class="border1" width="13%" height="25"><div align="center">
      来电人姓名:
     </td>
     
     <td class="border1" width="20%">
      <input id="xingming" name="xingming" readonly="true"  size = "50"
       value="<%=data.getXINGMING()%>">
     </td>

    
      <td class="border1" width="13%" height="25"><div align="center">
      来电人性别:
     </td>
     <td class="border1" width="30%">
      <input id="xingbie" name="xingbie" readonly="true" size = "50"
       value="<%=data.getXINGBIE()%>">
     </td>
     </tr>
   
    <tr>
     <td class="border1" width="13%" height="25"><div align="center">
      来电人电话号码:
     </td>
     <td class="border1" width="30%">
      <input id="dianhua" name="dianhua" readonly="true" size = "50"
       value="<%=data.getDIANHUA()%>">
     </td>
     
      <td class="border1" width="20%" height="25"><div align="center">
      来话时间:
     </td>
     <td class="border1" width="30%">
      <input id="shijian" name="shijian" readonly="true" size = "50"
       value="<%=data.getSHIJIAN()%>">
     </td>
     </tr>
     <tr>
     <td class="border1" width="13%" height="25"><div align="center">
      来电人地址:
     </td>
     <td class="border1" width="30%">
      <input id="address" name="address" readonly="true" size = "50"
       value="<%=data.getDIZHI()%>">
     </td>
     
      <td class="border1" width="20%" height="25"><div align="center">
      受理满意度:
     </td>
     <td class="border1" width="30%">
      <input id="sl_myd" name="sl_myd" readonly="true" size = "50"
       value="<%=data.getSL_MYD()%>">
     </td>
     </tr>
     <tr>
           <td class="border1" width="20%" height="25"><div align="center">
      答复状态:
     </td>
     <td class="border1" width="30%">
      <input id="dafu" name="dafu" readonly="true" size = "50"
       value="<%=data.getDAFU_ZHUANGTAI()%>">
     </td>
      <td class="border1" width="20%" height="25"><div align="center">
      咨询分类:
     </td>
     <td class="border1" width="30%">
      <input id="fenlei" name="fenlei" readonly="true" size = "50"
       value="<%=data.getFenLei()%>">
     </td>
    </tr>
    <tr>
          <td class="border1" width="20%" height="25"><div align="center">
      受理时间:
     </td>
     <td class="border1" width="30%">
      <input id="slshijian" name="slshijian" readonly="true" size = "50"
       value="<%=data.getSLTIME()%>">
     </td>
      <td class="border1" width="20%" height="25"><div align="center">
      是否派单:
     </td>
     <td class="border1" width="30%">
      <input id="paidan" name="paidan" readonly="true" size = "50"
       value="<%=data.getPD_FALSE()%>">
     </td>
    </tr>
    
    <tr>
      <td class="border1" width="20%" height="25"><div align="center">
      备注:
     </td>
     <td class="border1" width="30%">
      <textarea name="beizhu" cols=40 rows=6 readonly="true">
 <%=data.getBEIZHU()%>
   </textarea>
     </td>
    
      <td class="border1" width="20%" height="25" ><div align="center">
      咨询内容:
     </td>
     <td class="border1" width="30%">
      <textarea name="neirong" cols=40 rows=6 readonly="true">
 <%=data.getNEIRONG()%>
   </textarea>
     </td>
     <td>
     <a href="#">咨询</a>
     </td>
    </tr>
    
    
   </table>

      <font color="#FF0000"><%=request.getAttribute("return_info")!=null?request.getAttribute("return_info"):""%></font>
  </html:form>
 </body>
</html>
当双击“zixun.jsp”页面的一行记录时,弹出“zixun_reply"页面,当单击”zixun_reply"页面的“退出”按钮时,返回到“zixun.jsp"页面,并且保持”zixun.jsp“页面的记录不变,怎么实现呢?

统计信号处理基础 习题解答1-1 1-1:在雷达习题中,双程延时时间的估计量具有PDF τ0~Nτ0,στ02,其中τ0是真值。假如要估计距离请提出一种估计量R,并求它的PDF。然后,确定标准偏差στ0,使得距离估计值的99%在真值的100m以内,对电磁波传播速度取c=3×108m/s。 解答: 问题1: 由于电磁波传播速度c,信号可观察的双程传播延时τ0和双程传播距离τ0满足关系: R=cτ02 因此可采用如下估计量: R=cτ02 问题2: 由于τ0满足正态分布,且: Eτ0=τ0 varτ0=στ02 那么: E 阅读详情

相关推荐

USB摄像头开发避坑指南:UVC协议中的Alternate Setting详解

本文深入解析UVC协议中的Alternate Setting机制,这是USB摄像头开发中影响视频流稳定性的关键。文章通过实际案例,详解了Alternate Setting如何管理USB带宽分配,并分析了帧率不达标、图像花屏等典型问题的根源与排查方法,为开发者提供实用的避坑指南和调试技巧。

meat5的博客 240

【C语言学习】C语言函数返回全揭秘,5个经典问题深度解析

C语言中的函数可以返回各种类型的数据,如整型、浮点型、字符型、指针、结构体等。函数的返回类型在函数声明和定义时指定。通过本文的介绍,相信大家对C语言的函数返回有了更全面的了解。理解这些概念对于编写正确且高效的代码至关重要。希望这篇文章能够帮助你在C语言的学习之路上更进一步。如果你有任何疑问或建议,欢迎在评论区留言交流。让我们一起享受编程的乐趣吧!😊。

java专栏 2222

使用kali对局域网内的主机进行远程控制

输入命令:hydra -l administrator -P/usr/share/woerdlists/rockyou.txt 192.168.100.241 smb -V。账户(adminitrator)密码:123456 【一般账户都是我们知晓了,如果不知道账户进行破解那几乎不太可能,密码如果设置的特别复杂无规律也是特别难破解的】【-r:扫描整个网段 后面就是设置 192.168.241.100/24的网络地址段 为 192.168.241.0/24 0和/24之间不要空格】

2301_77599769的博客 2280

前端页面跳页面问题

问题概述:页面跳页面(视图跳视图),浏览器地址已改变,而跳转的页面不显示 以下是简略的详细代码 /**本问题在ssm项目中遇到,故代码用到的是ssm的规则*/ <忘了说了,我遇到这个问题的根本原因是--我将jsp项目改成ssm项目,套用jsp项目的前端,然而ssm实现是严格采用MVC模式,各代码各司其职,不像jsp代码那样可以将实现多功能的代码放一块,故jsp规范不能套用到ssm规范&...

ifnotcorrect的博客 1072

高通Camera PDAF调试实战:从Type2到Type3的避坑指南与Log分析技巧

本文深入解析高通Camera平台PDAF调试实战,重点对比Type2与Type3的核心差异,提供详细的配置迁移方案和Log分析技巧。针对常见兼容性问题如对焦速度变慢、低光失效等,给出具体解决方案,并分享性能优化案例与高级调试工具链,帮助开发者快速提升PDAF调试效率。

weixin_29164185的博客 413

Matlab_Marr小波尺度变换图

多尺度的连续小波变换分解后时间尺度图 墨西哥Marr小波函数: %delta 小波变换尺度 %N     小波函数的长度 %s     原始信号 %g     原始信号某个尺度下的小波变化系数 function g=Singularity_Detection(delta,N,s); %保持信号长度 n=length(s); % 构造墨西哥小帽小波函数 for index_x=1

桔色小西瓜 6601

网页编程的学习笔记

网页编程的学习笔记 一、JavaScript 二、ASP 一、JavaScript 0-1基本Html语言 n(1)超链接指定目标网页的Name &lt;Ahref="a1.htm"target="xzy"&gt;连结&lt;/A&gt; 一般情况下超链接打开的目标网页是在本网页之内打开的,但是利用上面的代码可以在新窗口中打开目标网页,再重新打开...

傾城如夢的专栏 7349

库卡机器人负载设置和自动负载测算

1.1在专家或者以上的权限下—“投入运行”——“工具/基座标管理”—“工具/工件”—添加1.2根据当前的工具所在的tool选择指定工具号;若是没有建立tool需要先建立建立方法看1.3负载数据的填写质量:抓手自重+产品重量总和(需要小于额定负载值)X、Y、Z :总质量的重心位置(基于法兰盘中心的位置计算,如下图的X_FLANGE、Y_FLANGE、Z_FLANGE)【此数据可以根据仿真或者CAD数据得出】A、B、C:是总质量绕着法兰盘中心所安装的角度位置 【此数据可以根据仿真或者CAD数据得出】

weixin_43462131的博客 3114

jQuery为iframe设置onmouseover事件,onkeyup, onkeydown等 - 百度富文本编辑器ueditor修改

DOM示例 <iframe id="ueditor_0" width="100%" height="100%" frameborder="0" src="any-path.html"> <!DOCTYPE html> <html> <head> </head> <body class="view" content...

Rudon滨海渔村的博客 1198

STM32鱼塘水质监测系统设计与实现

物联网技术在农业领域的应用正逐步深入,其中传感器网络作为关键基础设施,通过实时数据采集与传输实现环境监测。基于STM32微控制器的嵌入式系统因其高性能和低功耗特性,成为物联网终端设备的理想选择。该系统通过DS18B20水温传感器、PH传感器和浊度传感器组成的多参数检测网络,配合4G通信模块实现水质数据的远程监控。在农业物联网场景中,这种解决方案不仅大幅降低了传统人工检测的成本,更能通过实时预警有效预防养殖损失。本文介绍的鱼塘水质监测系统正是这一技术的典型应用,展示了如何通过STM32和常见传感器构建高性价比

weixin_42173218的博客 621

GEE案例:计算区域生态总体脆弱性分析

计算区域生态总体脆弱性分析需要考虑多个指标和因素。下面是一个基本的方法:选择指标:选择一组能够反映区域生态系统脆弱性的指标。这些指标可以包括生物多样性指数、森林覆盖率、湿地保护率、土地退化程度等。为每个指标分配权重:为了使得各指标在计算中的重要性相对均衡,可以为每个指标分配一个权重。权重可以根据各指标的重要性和可利用的数据进行确定。数据收集和处理:收集每个指标的数据,并对其进行处理,确保数据的准确性和一致性。如果有需要,可以对数据进行归一化处理。计算指标值:根据收集的数据和权重,计算每个指标的值。

此星光明博客 466

Android Studio解决页面间跳转出现白屏以及返回时出现循环的问题

Android Studio两个页面间的相互跳转,可通过以下代码实现: button1 = (Button) findViewById(R.id.bt1);//id后面为上方button的id button1.setOnClickListener(new View.OnClickListener() { ...

m0_37869163的博客 3186

QT C++ AI棉花智能变量灌溉工上位机(信创完整版)

北斗履带灌溉机器人/田间分区电磁阀基站 → 多层土壤温湿度/盐分EC传感器实时采集墒情 → 双目AI视觉扫描棉田长势、病苗分布 → AI融合**生育期+土壤墒情+盐分+棉株长势**计算变量灌溉定额、水肥配比、灌溉时长 → 分区电磁阀/变频水泵变量供水,病弱苗地块减量、干旱地块增量;墒情、盐分、长势多因子闭环修正灌水量;多层土壤含水率(0–10/20–40/40–80cm)、土壤EC盐分、土壤温度、空气温湿度、蒸发量、北斗地块坐标、管道水压、水肥罐液位、分区流量计、水泵电机负载、滴灌带压力反馈。

寒寒豆豆软件公司的博客 187

uniapp 页面来回跳转返回问题

A页面正常跳转B页面 B页面再跳往C页面 C页面跳转D页面 D页面业务处理完返回B页面 B页面返回A页面,A页面正常跳转B页面,重点在B、C、D、B页面之间。D页面处理完业务跳转到B页面,B页面返回A页面。

qq_62787048的博客 1003

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

html5手机返回按钮跳转到指定页面问题

最近在做活动的时候有一个这样的场景,在主页面点击跳出一个弹层表单,填写完信息后,点击确认跳转到指定的展示页面了。这时候在手机端点击浏览器自带的返回按钮后,回到主页面,这时候主页面无法刷新,弹层信息还在。所以采用了html5的一个方法让展示页面返回时跳转到指定页面 index.html是我的主页面,在该页面有个弹层表单; show.html是我的展示...

1287

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

SpringMVC跳转到html页面以及Controller返回html页面的乱码问题

一、SpringMVC跳转到html页面 1、自定义视图解析器: public class CustomResourceView extends InternalResourceView { @Override public boolean checkResource(Locale locale) throws Exception {...

weixin_30819085的博客 1140

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

uniapp嵌套webview页面,返回按钮跳转问题

//webview页面下 onBackPress(options) { console.log(options) if (options.from === 'backbutton') { this.back(); return true; } }, methods: { back() { uni.navigateTo({ url: './xjgl' }) }, } //xjgl页面下 onBackPress(options) { console.log(optio.

weixin_43861449的博客 6350

解决mui中页面跳转返回之后没有刷新页面的问题小结

我在做手机app的时候,手机页面的跳转是必不可少的,于是我使用了mui框架的方法跳转因为这样能让我更流畅的切换手机页面达到接近平时使用的效果.虽然页面跳转是很完美但是却隐含了另一个问题,在我需要返回的时候再回来发现页面并没有刷新,直接加reload()方法也无法实现,也尝试了使用别的例如**window.history.back();**之类的都没办法因为它写在mui跳转方法里面的话就是完全失效,这个问题就一直困扰着我,今天意外的就解决了.具体方法看下面代码: var backToveiw =.

1 1281

解决列表页面跳转返回后分页及查询重置问题

本文分析了列表页面跳转返回后分页及查询条件重置的问题,并提供了两种解决方案:使用keep-alive缓存页面或手动记录参数。keep-alive方法适合全局配置但需注意生命周期变化,而手动记录参数则更灵活但实现较复杂。文章还给出了两种方法的代码示例,帮助开发者在实际项目中快速应用。

jl15988 406

JavaScript处理页面跳转与返回的路径问题

今天思考了一个问题:如何判断页面是否是从特定页面“跳”过来的? 因为我做的一个项目中有一个(二级)页面要返回主页面。 一般情况下,直接history.go(-1); 或 history.back(); 即可。 但若是用户直接来到这个(二级)页面呢?怎么去主页面?或者说,它又“返回”到哪去? 这就是图中那句话的意思——当时的无奈之举,也是笔者写这篇博客的原因。 在同源条件下,可以在特定页面里存储...

flying meng的菜鸟居 2737

React监听浏览器返回(页面跳转问题)(关于点击浏览器返回错误界面的问题)

1、React浏览器页面返回错误,点击面包屑没有问题,但是点击浏览器返回键却出现跳转错误。 2、首先需要监听浏览器返回事件,然后调用自己写的返回方法 3、在组件挂载完成后 ,判断浏览器是否支持popstate componentDidMount() { // 监听浏览器点击返回 if (window.history && window.history.pus...

WebView 9561

解决vue单页面跳转返回后页面不刷新的问题

解决vue单页面跳转返回后页面不刷新的问题

weixin_46020146的博客 570

uniapp ios软键盘弹起跳转页面,返回后留白问题

项目中碰到一个奇怪的问题,uniapp 中 ios软键盘弹起的状态下跳转页面,然后在子页面关闭软键盘,再返回上一页,会导致页面留白的问题。 因为页面是nvue写的 ,所以不确定vue会不会出现相同的情况, 因为不是页面向上推,所以设置 页面滚动也没有效果 然后也不知道怎么恢复留白问题。 所以只能在跳转页面之前关闭一下软件盘,这也只是临时方案,如果有更好的方法,请指教,谢谢。 try{ uni.hideKeyboard() }catch(e){ //TODO handle the excep.

qq_38026437的博客 1301

iOS UIWebview层层跳转后,然后层层返回到最后一层原生页面时,点击两次才能返回的问题

iOS webview内部跳转后返回原生页面按钮点击两次才能返回的问题 // 返回 - (void)backAction:(UIButton *)sender { NSLog(@"点击返回"); if ([self.webView canGoBack]) { [self.webView goBack]; }else{ //加上resignFi...

weixin_45380535的博客 1493

uniapp:H5端reLaunch跳转后,返回还有页面存在问题

2.跳转后,在跳转后的页面里,加载方法。1.跳转后页面还存在的原因。

Ygaidi的博客 418

Flutter页面跳转和传值传参,接收页面返回数据、以及解决返回(pop)页面时黑屏的问题

Flutter导航和路由 在Android中,我们使用Intent或者第三方路由SDK来解决页面之间的跳转和传值。 在Flutter中,官方给我们提供了导航控件和路由控件来帮助我们进行页面的跳转和传值。 官方文档: Flutter导航和路由 在Flutter中,屏幕和页面统称为路径,我们可以通过routes来定义路径的别名,通过 Navigator来管理这些路径。 下面文章中我还是用页面表示路径,...

喻志强的博客 3万+
上一篇: 超链接用js验证
下一篇: 治大病的偏方
yuling59520
博客等级 码龄17年 61粉丝 32原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值