jsp传入action p
有parameter p
ActionContext context = ActionContext.getContext();
context.getParameters().remove("p");
p = null;
再提交至页面时
页面上才不会收到p的值
有parameter p
ActionContext context = ActionContext.getContext();
context.getParameters().remove("p");
p = null;
再提交至页面时
页面上才不会收到p的值
本文详细介绍了如何在jsp中通过ActionContext去除特定参数值的方法,确保页面展示时不显示该参数。
464

被折叠的 条评论
为什么被折叠?



