Hi
i have two
jsp one.jsp
two.jsp
From "one.jsp" i invoke "two.jsp" by calling
two.jsp?value1=20&value2=100
I read the request parameters value1 and value2 in my two.jsp and print it
But in my Browser URL i get only
http://localhost:8080/examples/two.jsp? and not
http://localhost:8080/examples/two.jsp?value1=20&value2=100. Why?
=================
one.jsp
<html>
<form name="navigate">
<table>
<tr>
<td on Click="move()"> 1
</td>
<tr>
</table>
</form>
<script>
function move()
{
document.navigate.action="/examples/two.jsp?value1=20&value2=80"
document.navigate.submit();
}
</script>
</html>
===================
two.jsp
<%
out.println(request.getParameter("value1"));
out.println(request.getParameter("value2"));
%>
===================