Prev | Current Page 252 | Next

Frank Zammetti

"Practical DWR 2 Projects"

-->

index.jsp


Well, there certainly is not much to it, is there? The most important item is the DWR
servlet definition. Here we are mapping it to the path /dwr/* and telling it we want to see
debug information. Beyond that we are simply setting a session timeout of 30 minutes and
setting index.jsp as our welcome page. Very concise indeed!
dwr.xml
Next up is dwr.xml, which is the DWR configuration file that was described in previous chapters,
shown in Listing 4-2.
Listing 4-2. dwr.xml for InstaMail

"http://getahead.org/dwr/dwr20.dtd">


match="com.apress.dwrprojects.instamail.MessageDTO" />
match="com.apress.dwrprojects.instamail.OptionsDTO" />
match="com.apress.dwrprojects.instamail.ContactDTO" />

value="com.apress.dwrprojects.instamail.OptionsManager" />


value="com.


Pages:
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264