<!doctype html>
<html>
<head>
<title>Get a Version</title>
<style>
div.scrolling {
background-color: #FFFFFF;
width: 1100px;
height: 400px;
overflow: scroll;
}
</style>
</head>
<body>
<center>
<h1>Select a Version</h1>
</center>
<hr />
<font size="+1">
<form method="get" action="http://localhost:8080/js_test/sessionServlet" >
Java Source:
<input type="text" name="java_source" value="${theBean.file_name}">
Version:
<input type="text" name="version" value="${theBean.version_id}">
<br />
<input type="hidden" name="task" value="1">
<input type="submit" value="Submit">
</form>
<hr />
<center>
<h2>The Notes:</h2>
</center>
<textarea rows="5" cols="100" name="notes">
${theBean.notes}
</textarea>
<hr />
<center>
<h2>The Code:</h2>
</center>
<div class="scrolling">
<pre><font size="+1"><b>
${theBean.this_version}
</b></font></pre>
</div>
</body>
</html>
Using getSimpleNotes.java