【发布时间】:2012-01-22 23:49:56
【问题描述】:
我想在我的HttpServletRequest 的参数映射中添加一个新参数。
以下代码
request().getParameterMap().put("j_username", user);
request().getParameterMap().put("j_password", pwd);
产生这个错误
no modifications are allowed to a locked parameter map
这样做的正确方法是什么?
【问题讨论】:
-
请检查这个链接你的答案在那里:stackoverflow.com/questions/1413129/…
-
@nIcEcOw 链接断开!谢谢...
标签: java web-applications servlets