Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは、送信されたパラメーターを表示する正しい方法ですか?
response.sendRedirect("index.jsp?a="+1); alert(<%=request.getParameter("a")%>);
response.sendRedirect("nextPage.jsp?paramName=someValue");
したがって、nextPage.jsp で次のように記述する必要があります。
String value = request.getParameter("paramName");
パラメータ値を取得します。