我要翻译
<jsp:include page="xxx.jsp">
<jsp:param name="x" value="0"/>
</jsp:include>
到 Java,例如:
RequestDispatcher rd = request.getRequestDispatcher("xxx.jsp");
rd.include(request, response);
我怎么能把param x = 0
?请求没有 setParameter(至少在 Servlet 3.0 之前没有)
像request.getRequestDispatcher("xxx.jsp" + "?x=0");
什么?