Newbie problem: About JSP parameter in <jsp:forward ... >
I wirte a main.jsp :
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.net.URLEncoder" %>
<html>
<title> example </title>
<body>
this is main jsp.
<% String s = URLEncoder.encode("+js"); %>
s = <%= s %>
<jsp:forward page="forward.jsp?para1=<%=s%>" />
</body>
</html>
and a forward.jsp:
<%@ page contentType="text/html; charset=gb2312" %>
<%
String p1 = request.getParameter("para1");
%>
<html>
<title> example </title>
<body>
this is forward jsp.
para1 = <%= p1%>
</body>
</html>
My problem is : I cannot get the parameter value from main.jsp
Do you know?

