四、dwr.xml文件中create节点探讨
new: 使用java的new操作符创建.
none: 不创建java对象
scripted: 借助于BSF,使用类似 BeanShell or Groovy的脚本语言创建.
spring:使用spring框架创建.
jsf: 使用来自JSF的对象.
struts: 使用 struts FormBeans.
pageflow: Gives access to a PageFlow from Beehive or Weblogic. (v1.1+)
ejb3: An experimental Creator to give access to EJB3 session beans. This code should not be seen as production quality until it has undergone more testing, and has an official maintainer. (v2.0+)
如果需要你还可以自己编写创建者,不过你需要使用<init></init> 注册该创建者.
javascript属性值:指明了在javascript code中的引用名字,注意不要使用js的关键字命名 scope属性值:page,session,application,request include参数:指明不可见的方法 exclude参数:指明可见的方法,默认都可见 auth参数:指明访问该方法的角色名称 param参数:供创建者使用