guozilovehe 发表于 2013-1-29 09:24:58

dwr配置文件

dwr.xml是DWR的配置文件。默认情况下,应该把它放到WEB-INF目录(web.xml的目录)下
创建dwr.xml文件

dwr.xml文件的结构如下:
<!DOCTYPE dwr PUBLIC    "-//GetAhead Limited//DTD Direct Web Remoting 1.0//EN"    "http://www.getahead.ltd.uk/dwr/dwr10.dtd"><dwr><!-- init is only needed if you are extending DWR --><init>    <creator id="..." class="..."/>    <converter id="..." class="..."/></init><!-- without allow, DWR isn't allowed to do anything --><allow>    <create creator="..." javascript="..."/>    <convert converter="..." match="..."/></allow><!-- you may need to tell DWR about method signatures --><signatures>    ...</signatures></dwr>
页: [1]
查看完整版本: dwr配置文件