test_initParam.jsp
In web.xml
<context-param>
<param-name>thewebapp</param-name>
<param-value>http://hoare.cs.umsl.edu/servlet/siegel</param-value>
</context-param>
test_initParam.jsp
<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>
<!doctype html>
<html>
<head>
<title>Test initParam</title>
</head>
<body>
<c:set var="thewebapp" value="${initParam.thewebapp}"/>
<center>
<h1>Just Submit</h1>
<hr />
<font size="+3">
<form method="get" action="${thewebapp}/a_table.jsp" >
<input type="submit" value="Submit">
</form>
</font>
</center>
</body>
</html>
The Browser Sees
<font size="+3">
vform method="get" action="http://hoare.cs.umsl.edu/servlet/siegel/a_table.jsp" >
<input type="submit" value="Submit">