| 1 | <HTML> | 
|---|
| 2 | <!-- | 
|---|
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more | 
|---|
| 4 | contributor license agreements.  See the NOTICE file distributed with | 
|---|
| 5 | this work for additional information regarding copyright ownership. | 
|---|
| 6 | The ASF licenses this file to You under the Apache License, Version 2.0 | 
|---|
| 7 | (the "License"); you may not use this file except in compliance with | 
|---|
| 8 | the License.  You may obtain a copy of the License at | 
|---|
| 9 |  | 
|---|
| 10 | http://www.apache.org/licenses/LICENSE-2.0 | 
|---|
| 11 |  | 
|---|
| 12 | Unless required by applicable law or agreed to in writing, software | 
|---|
| 13 | distributed under the License is distributed on an "AS IS" BASIS, | 
|---|
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|---|
| 15 | See the License for the specific language governing permissions and | 
|---|
| 16 | limitations under the License. | 
|---|
| 17 | --> | 
|---|
| 18 |  | 
|---|
| 19 | <HEAD><TITLE> | 
|---|
| 20 | Calendar: A JSP APPLICATION | 
|---|
| 21 | </TITLE></HEAD> | 
|---|
| 22 |  | 
|---|
| 23 |  | 
|---|
| 24 | <BODY BGCOLOR="white"> | 
|---|
| 25 | <jsp:useBean id="table" scope="session" class="cal.TableBean" /> | 
|---|
| 26 |  | 
|---|
| 27 | <% | 
|---|
| 28 | String time = request.getParameter ("time"); | 
|---|
| 29 | %> | 
|---|
| 30 |  | 
|---|
| 31 | <FONT SIZE=5> Please add the following event: | 
|---|
| 32 | <BR> <h3> Date <%= table.getDate() %> | 
|---|
| 33 | <BR> Time <%= util.HTMLFilter.filter(time) %> </h3> | 
|---|
| 34 | </FONT> | 
|---|
| 35 | <FORM METHOD=POST ACTION=cal1.jsp> | 
|---|
| 36 | <BR> | 
|---|
| 37 | <BR> <INPUT NAME="date" TYPE=HIDDEN VALUE="current"> | 
|---|
| 38 | <BR> <INPUT NAME="time" TYPE=HIDDEN VALUE=<%= util.HTMLFilter.filter(time) %> | 
|---|
| 39 | <BR> <h2> Description of the event <INPUT NAME="description" TYPE=TEXT SIZE=20> </h2> | 
|---|
| 40 | <BR> <INPUT TYPE=SUBMIT VALUE="submit"> | 
|---|
| 41 | </FORM> | 
|---|
| 42 |  | 
|---|
| 43 | </BODY> | 
|---|
| 44 | </HTML> | 
|---|
| 45 |  | 
|---|