bulletin_search_result.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  3. <jsp:useBean id="cu" scope="request" class="com.vnex.intranet.communication.util.CommunicationUtil" />
  4. <%
  5.     String pageTo = "/mainctrl/bulletin/home";
  6.     String searchCondition = "";
  7.     int deptId = Integer.parseInt(request.getParameter("deptId"));
  8.     if(deptId != BusinessName.getDeptId())
  9.     {
  10.        pageTo = "/mainctrl/bulletin/otherBulletinList";
  11.     }
  12.     if(deptId == 0)
  13.        searchCondition = "查看全部公告";
  14.     else
  15.        searchCondition = "查看"+cu.selectDeptName(dept)+"公告";
  16. %>
  17. <html>
  18. <head>
  19. <script language=javascript>
  20. function forward()
  21. {
  22. document.location = "<%=pageTo%>?deptId="<%=deptId%>&searchCondition=<%=searchCondition%>";
  23. }
  24. </script>
  25. </head>
  26. <body onload="javascript:forward()">
  27. </body>
  28. <html>