| career | drupal | java | mac | mysql | perl | scala | uml | unix  

Tomcat example source code file (cal2.jsp)

This example Tomcat source code file (cal2.jsp) is included in the "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Tomcat tags/keywords

apache, body, br, br, form, input, input, license, license, name, see, value, value, you

The Tomcat cal2.jsp source code

 Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  See the License for the specific language governing permissions and
  limitations under the License.


<BODY BGCOLOR="white">
<jsp:useBean id="table" scope="session" class="cal.TableBean" />

	String time = request.getParameter ("time");

<FONT SIZE=5> Please add the following event:
<BR> <h3> Date <%= table.getDate() %>
<BR> Time <%= util.HTMLFilter.filter(time) %> </h3>
<BR> <INPUT NAME="date" TYPE=HIDDEN VALUE="current">
<BR> <INPUT NAME="time" TYPE=HIDDEN VALUE=<%= util.HTMLFilter.filter(time) %>
<BR> <h2> Description of the event <INPUT NAME="description" TYPE=TEXT SIZE=20> </h2>


<div id="after_source_code">
<h2>Other Tomcat examples (source code examples)</h2>
<p>Here is a short list of links related to this Tomcat cal2.jsp source code file:</p>
  <li><a href="/java/jwarehouse"><img src="/images/scw/find.png" border="0"> The search page</a></li>
  <li><a href="index.shtml"><img src="/images/scw/folder.png" border="0"> Other Tomcat source code examples at this package level</a></li>
  <li><a href="/java/jwarehouse/about.shtml"><img src="/images/scw/information.png" border="0"> Click here to learn more about this project</a></li>

<div style="padding-top: 1em; width: 310px; margin-left: auto; margin-right: auto; table {border-collapse: collapse; border: none;}; tr {border-collapse: collapse; border: none; text-align: center;};">
<table width="100%" cellspacing="0" cellpadding="0">
      <td colspan="2" style="border-collapse: collapse; border: none; text-align: center;};">
        <em>... this post is sponsored by my books ...</em>
      <td width="150" style="border-collapse: collapse; border: none; text-align: center;};">
        <a href=""><img
           title="The Scala Cookbook, by Alvin Alexander" height="220" />
           <br /><span style="opacity: 0.4;">#1 New Release!</span></a>
      <td width="150" style="border-collapse: collapse; border: none; text-align: center; padding-left: 8px;">
        <a href=""><img
           title="Functional Programming, Simplified, by Alvin Alexander"
           height="220" />
           <br /><span style="opacity: 0.4;">FP Best Seller</span></a>
<p> </p>

<div id="whats_new">
<h2>new blog posts</h2>
<div id="whats_new_list">
<li><a class="whats_new_link" href="/scala/learn-functional-programming-book">Book: Learn Functional Programming Without Fear (FP for OOP developers)</a></li>
<li><a class="whats_new_link" href="/photos/number-1-best-selling-java-functional-programming-book">#1 best-selling book in Java and Functional Programming</a></li>
<li><a class="whats_new_link" href="/photos/scala-collections-methods-demonstrated-with-fruit">Demonstrating Scala collections methods with fruit</a></li>
<li><a class="whats_new_link" href="/misc/zen-way-of-calligraphy-zen-mind-beginners-suzuki">The Zen way of calligraphy ...</a></li>
<li><a class="whats_new_link" href="/photos/simplest-fp-book-no-monoids-monads-category-theory">Simple FP book: No monads. No monoids. No category theory. Just FP code.</a></li>
<li><a class="whats_new_link" href="/photos/best-2022-holiday-programming-book-gift-java-kotlin-oop">Best 2022 holiday programming gift book (for Java/Kotlin/OOP developers)</a></li>
<li><a class="whats_new_link" href="/misc/java-kotlin-oop-programmer-holiday-gift-2022-ideas">Java/Kotlin programmer holiday gift, 2022 (book)</a></li>
<li><a class="whats_new_link" href="/photos/free-scala-functional-programming-training-courses">Kickstarter: Free Scala and functional programming training courses</a></li>
<li><a class="whats_new_link" href="/scala/collections-does-filter-mean-retain-keep-remove">Scala collections: Does filter mean retain/keep, remove</a></li>

<p> </p>

<p align="center"><font color="#000000" size="2"
face="Verdana,Arial">Copyright 1998-2021 Alvin Alexander,<br/>
All Rights Reserved.<br/>
A percentage of advertising revenue from<br/>
pages under the <a href="/java/jwarehouse">/java/jwarehouse</a> 
URI on this website is<br/>
paid back to open source projects.</p>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-35326316-1']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);


var div = document.getElementById("leftcol");
var pre = '<div style="margin: 0; padding-right: 1.6em"><h2 align="center">favorite books</h2>';
var post = '</div>';
if (adblock) {
  var str = books.slice(0,3).join(" ");
  div.insertAdjacentHTML('beforeend', pre + str + post);
} else {
  var str = books.slice(0,1).join(" ");
  div.insertAdjacentHTML('beforeend', pre + str + post);

<p style="padding-bottom: 80px;"> </p>