Hi,
I'm trying to figure out how to pass parameters across JSP pages without using links. For some reason, I can only get null across...
Here is my code:
Page 1
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test Page</title>
</head>
<body>
<form name="testForm" action="Test.jsp">
<select name='tableSelect' onChange='testForm.submit();' style="text-align:center">
<option value='--Select Table--'>--Select Table--</option>
<option value='CONFIG_SOURCE'>CONFIG_SOURCE</option>
<option value='CONFIG_PROCESS'>CONFIG_PROCESS</option>
<option value='CONFIG_PROCESS_SOURCE'>CONFIG_PROCESS_SOURCE</option>
<option value='CONFIG_SAL_ROUTING'>CONFIG_SAL_ROUTING</option>
</select>
</form>
<%
out.println(request.getParameter("tableSelect"));
%>
</body>
</html>
Page 2:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test Recieve Page</title>
</head>
<body>
<%
out.println(request.getParameter("tableSelect"));
%>
</body>
</html>
Thanks,
-Ashton