1 | <html><body><pre> |
---|
2 | <HTML> |
---|
3 | <!-- |
---|
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 | <HEAD><TITLE> |
---|
21 | Calendar: A JSP APPLICATION |
---|
22 | </TITLE></HEAD> |
---|
23 | |
---|
24 | |
---|
25 | <BODY BGCOLOR="white"> |
---|
26 | <jsp:useBean id="table" scope="session" class="cal.TableBean" /> |
---|
27 | |
---|
28 | <% |
---|
29 | String time = request.getParameter ("time"); |
---|
30 | %> |
---|
31 | |
---|
32 | <FONT SIZE=5> Please add the following event: |
---|
33 | <BR> <h3> Date <%= table.getDate() %> |
---|
34 | <BR> Time <%= util.HTMLFilter.filter(time) %> </h3> |
---|
35 | </FONT> |
---|
36 | <FORM METHOD=POST ACTION=cal1.jsp> |
---|
37 | <BR> |
---|
38 | <BR> <INPUT NAME="date" TYPE=HIDDEN VALUE="current"> |
---|
39 | <BR> <INPUT NAME="time" TYPE=HIDDEN VALUE=<%= util.HTMLFilter.filter(time) %> |
---|
40 | <BR> <h2> Description of the event <INPUT NAME="description" TYPE=TEXT SIZE=20> </h2> |
---|
41 | <BR> <INPUT TYPE=SUBMIT VALUE="submit"> |
---|
42 | </FORM> |
---|
43 | |
---|
44 | </BODY> |
---|
45 | </HTML> |
---|
46 | |
---|
47 | </pre></body></html> |
---|