source: nutchez-0.1/tomcat/webapps/examples/jsp/dates/date.jsp.html

Last change on this file was 66, checked in by waue, 16 years ago

NutchEz - an easy way to nutch

File size: 1.8 KB
Line 
1<html><body><pre>
2&lt;html>
3&lt;!--
4 Licensed to the Apache Software Foundation (ASF) under one or more
5  contributor license agreements.  See the NOTICE file distributed with
6  this work for additional information regarding copyright ownership.
7  The ASF licenses this file to You under the Apache License, Version 2.0
8  (the "License"); you may not use this file except in compliance with
9  the License.  You may obtain a copy of the License at
10
11      http://www.apache.org/licenses/LICENSE-2.0
12
13  Unless required by applicable law or agreed to in writing, software
14  distributed under the License is distributed on an "AS IS" BASIS,
15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  See the License for the specific language governing permissions and
17  limitations under the License.
18-->
19
20&lt;%@ page session="false"%>
21
22&lt;body bgcolor="white">
23&lt;jsp:useBean id='clock' scope='page' class='dates.JspCalendar' type="dates.JspCalendar" />
24
25&lt;font size=4>
26&lt;ul>
27&lt;li> Day of month: is  &lt;jsp:getProperty name="clock" property="dayOfMonth"/>
28&lt;li> Year: is  &lt;jsp:getProperty name="clock" property="year"/>
29&lt;li> Month: is  &lt;jsp:getProperty name="clock" property="month"/>
30&lt;li> Time: is  &lt;jsp:getProperty name="clock" property="time"/>
31&lt;li> Date: is  &lt;jsp:getProperty name="clock" property="date"/>
32&lt;li> Day: is  &lt;jsp:getProperty name="clock" property="day"/>
33&lt;li> Day Of Year: is  &lt;jsp:getProperty name="clock" property="dayOfYear"/>
34&lt;li> Week Of Year: is  &lt;jsp:getProperty name="clock" property="weekOfYear"/>
35&lt;li> era: is  &lt;jsp:getProperty name="clock" property="era"/>
36&lt;li> DST Offset: is  &lt;jsp:getProperty name="clock" property="DSTOffset"/>
37&lt;li> Zone Offset: is  &lt;jsp:getProperty name="clock" property="zoneOffset"/>
38&lt;/ul>
39&lt;/font>
40
41&lt;/body>
42&lt;/html>
43</pre></body></html>
Note: See TracBrowser for help on using the repository browser.