xml deployment descriptor to
specify the DWRServlet.The DWR servlet class for DWR 1.1.4 is
uk.ltd.getahead.dwr.DWRServlet. The DWR servlet class for
DWR 2.x is org.directwebremoting.servlet.DwrServlet.
Copy web.xml, which is listed below, to the JDeveloper project.
xsi:schemaLocation=???http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd???
version=???2.4???
xmlns=???http://java.sun.com/xml/ns/j2ee???>
Empty web.xml file for Web
Application
DWR Servlet
dwr-invoker
uk.ltd.getahead.dwr.DWRServlet
5.3 Creating a DWR Application 97
debug
true
dwr-invoker
/dwr/*
35
html
text/html
txt
text/plain
The Java class to be remoted, UserRegistration.java, specifies
two methods validate(String userId) and
updateUserTable(String userId, String password).
Pages:
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99