I want to make sure I'm able to pass get variables to a jsp
in a url. Oddly, the following happens:
(referring page)
<a href="foo.jsp?type=bar">link</a>
(foo.jsp?type=bar)
<%= request.getParameter("type" %>
The above statement evaluates to null.. Is there something
simple that I'm doing wrong?
Thanks,
Terwin
in a url. Oddly, the following happens:
(referring page)
<a href="foo.jsp?type=bar">link</a>
(foo.jsp?type=bar)
<%= request.getParameter("type" %>
The above statement evaluates to null.. Is there something
simple that I'm doing wrong?
Thanks,
Terwin