Prev | Current Page 482 | Next

Frank Zammetti

"Practical DWR 2 Projects"

Should you decide to put this on your production
server as-is, I cannot be held responsible for the fate of your data! That being said, for the sake
of a nice, simple example, this should be fine.
CHAPTER 6 n REMOTELY MANAGING YOUR FILES: DWR FILE MANAGER 273
web.xml
In Listing 6-2, we can see the web.xml file for Fileman. It is very much along the lines of all the
other configuration files throughout the book, and the security setup is very much similar to
that of DWiki again, although a bit more verbose.
Listing 6-2. The web.xml Application Configuration File

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
FileMan


dwr-invoker
uk.ltd.getahead.dwr.DWRServlet

debug
true


crossDomainSessionSecurity
false