有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java在Apache Struts 1.1中是否可以显式白名单?

我正在一个使用apache struts 1.1的遗留应用程序上做一些工作

是否有一种方法可以在action类中强制执行formfields的显式白名单,类似于(来自ASP.NET):

public ActionResult Create([Bind(Include="PropertyToInclude1, PropertyToInclude2")] Employee employee) {

    //action code here

}

共 (0) 个答案