alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<td><%= ((i - 32) * 5 / 9) %> </tr> <% } %> </table> <p>Created <%= new Date () %>

</body> </html>

Other Java examples (source code examples)

Here is a short list of links related to this Java TemperatureTable.jsp source code file:

Java example source code file (TemperatureTable.jsp)

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

Learn more about this Java project at its project page.

Java - Java tags/keywords

align\=right, bgcolor, border, canada, cccccc, celsius, cols\=2, date, fahrenheit, ffff00, table, width

The TemperatureTable.jsp Java example source code

<html>
<head>
   <title>Temperature Table
</head>
<body>

<h1>Temperature Table
<p>American tourists visiting Canada can use this handy temperature
table which converts from Fahrenheit to Celsius:
<br>
<table BORDER COLS=2 WIDTH="20%" > <tr BGCOLOR="#FFFF00"> <th>Fahrenheit <th>Celsius </tr> <% for (int i = 0; i <= 100; i += 10) { %> <tr ALIGN=RIGHT BGCOLOR="#CCCCCC"> <td><%= i %>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.