POSTのデータを取得する。
<html:hidden
name="_InsertItems"
property="time"
value="<%=request.getParameter("time")%>">
</html:hidden>
最初この状態で受け取ろうとしたが下記のエラーが表示。
[2010/12/16 14:02:40][ERROR]
jsp サーブレット jsp の
Servlet.service()が例外を投げました
org.apache.jasper.JasperException:
/responsePage/insert.jsp(21,65)
Attribute value request.getParameter("requestid")
is quoted with " which must be escaped when used
within the value
どうやら値を使うときはエスケープしろみたいな感じ?
参考URL
<html:hidden
name="_InsertItems"
property="time"
value='<%=request.getParameter("time")%>'>
</html:hidden>
最終更新:2010年12月16日 14:19