String servletPath=request.getServletPath();
String contextPath=getServletContext().getRealPath(servletPath);
+System.out.println("queryString => " + request.getQueryString());
+
send(request.getMethod(), request.getQueryString(),
request.getPathInfo(), contextPath,
request.getContentType(), request.getContentLength(),
<br>
<input type=submit>
</form>
+<P>GET based form:<br>
+<form action="<?php echo $PHP_SELF ?>" method=GET>
+Name of Session Attribute:
+<input type=text size=20 name=dataName>
+<br>
+Value of Session Attribute:
+<input type=text size=20 name=dataValue>
+<br>
+<input type=submit>
+</form>
+<p><a href="<?php echo $PHP_SELF ?>?dataName=foo&dataValue=bar" >URL encoded </a>
</body>
</html>
</body>