- Code/Resource
- Windows Develop
- Linux-Unix program
- Internet-Socket-Network
- Web Server
- Browser Client
- Ftp Server
- Ftp Client
- Browser Plugins
- Proxy Server
- Email Server
- Email Client
- WEB Mail
- Firewall-Security
- Telnet Server
- Telnet Client
- ICQ-IM-Chat
- Search Engine
- Sniffer Package capture
- Remote Control
- xml-soap-webservice
- P2P
- WEB(ASP,PHP,...)
- TCP/IP Stack
- SNMP
- Grid Computing
- SilverLight
- DNS
- Cluster Service
- Network Security
- Communication-Mobile
- Game Program
- Editor
- Multimedia program
- Graph program
- Compiler program
- Compress-Decompress algrithms
- Crypt_Decrypt algrithms
- Mathimatics-Numerical algorithms
- MultiLanguage
- Disk/Storage
- Java Develop
- assembly language
- Applications
- Other systems
- Database system
- Embeded-SCM Develop
- FlashMX/Flex
- source in ebook
- Delphi VCL
- OS Develop
- MiddleWare
- MPI
- MacOS develop
- LabView
- ELanguage
- Software/Tools
- E-Books
- Artical/Document
calendar.jsp
Package: JSP-OA.rar [view]
Upload User: jhtang88
Upload Date: 2014-01-27
Package Size: 28528k
Code Size: 1k
Category:
Jsp/Servlet
Development Platform:
Java
- <%@ page contentType="text/html;charset=gb2312"%>
- <%@ page import = "java.net.URLEncoder"%>
- <%@ page import = "java.io.File"%>
- <%@ page import = "java.util.Calendar"%>
- <jsp:useBean id="fchar" scope="page" class="cn.js.fan.util.StrUtil"/>
- <jsp:useBean id="calsheet" scope="page" class="com.redmoon.oa.CalendarSheet"/>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML><HEAD><TITLE>日程安排</TITLE>
- <META http-equiv=Content-Type content="text/html; charset=gb2312">
- <link rel="stylesheet" href="common.css" type="text/css">
- <%@ include file="inc/nocache.jsp" %>
- <%
- out.print(calsheet.changeCld_Script("calendar.jsp"));
- %>
- <META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
- <BODY bgColor=#ffffff leftMargin=0 topMargin=3 marginheight="3" marginwidth="0">
- <%
- int displayYear = 0;
- int displayMonth = 0;
- String stryear = request.getParameter("displayYear");
- String strmonth = request.getParameter("displayMonth");
- try {
- if (stryear!=null)
- displayYear = Integer.parseInt(stryear);
- if (strmonth!=null)
- displayMonth = Integer.parseInt(strmonth);
- }
- catch (Exception e){
- out.println(e.getMessage());
- return;
- }
- Calendar cal = Calendar.getInstance();
- int year = 0;
- int month = 0;
- if (stryear==null)
- year = cal.get(cal.YEAR);
- else
- year = displayYear;
- if (strmonth==null)
- month = cal.get(cal.MONTH);
- else
- month = displayMonth;
- String caltable = calsheet.newCalendar(year,month);
- out.print(caltable);
- %>
- </BODY>
- </HTML>