how to redirect page with POST method in JSTL.
below is the code that i make, but the page redirected with GET method,
so, the URL shown as http://localhost:8080/tes2/coba2.jsp?nama=saya
how to hide the parameter, so it didn't show at the URL..??
anybody help me..??
server1 -> coba1.jsp
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<head>
<title>coba1</title>
</head>
<body>
<c:url value="http://localhost:8080/tes2/coba2.jsp" var="displayURL">
<c:param name="nama" value="saya"/>
</c:url>
<c:redirect url="${displayURL}"/>
</body>
</html>
server2->coba2.jsp
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<html>
<head>
<title>coba2</title>
</head>
<body>
<c:forEach items="${param}" var="currentParam">
<li><c:out value="${currentParam.key}" />
= <c:out value="${currentParam.value}" /></li>
</c:forEach>
</body>
</html>