日期:2014-05-17  浏览次数:20781 次

大新手的JSP问题
这个这个 http://code.google.com/p/jmonthcalendar/  
这个jMonthCalendar有一个demo.html  
然后我看了看试试能不能 把他塞到我的一个SSH工程的一个页面里(见代码uniteEvent.jsp)
最后精简到只有demo.html里的元素了 还是什么反应都没有......
  
应该怎么修改才能用得上呢?
  
========================================================================
uniteEvent.jsp
========================================================================
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.smartone.sn.rtms.model.ProjectCategorie.CategorieType" %>
<%@ include file="/common/head.inc"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<link rel="stylesheet" href="../css/core.css" type="text/css" />
          
<script src="../js/jquery-1.3.min.js" type="text/javascript"></script>
<script src="../js/jMonthCalendar.js" type="text/javascript"></script>
  
  
<style type="text/css" media="screen">
     #jMonthCalendar .Meeting { background-color: #DDFFFF;}
     #jMonthCalendar .Birthday { background-color: #DD00FF;}
     #jMonthCalendar #Event_3 { background-color:#0000FF; }
</style>
      
  
<script language="javaScript">
     $().ready(function() {
         var options = {
             height: 650,
             width: 980,
             navHeight: 25,
             labelHeight: 25,
             onMonthChanging: function(dateIn) {
                 //this could be an Ajax call to the backend to get this months events
                 //var events = [     { "EventID": 7, "StartDate": new Date(2009, 1, 1), "Title": "10:00 pm - EventTitle1", "URL": "#", "Description": "This is a sample event description", "CssClass": "Birthday" },
                 //                { "EventID": 8, "StartDate": new Date(2009, 1, 2), "Title": "9:30 pm - this is a much longer title", "URL": "#", "Description": "This is a sample event description", "CssClass": "Meeting" }
                 //];
           &n