Re: [Webwork-user] !default.action
Brought to you by:
baldree,
rickardoberg
From: Dave B. <db...@in...> - 2002-05-22 13:15:42
|
On Wednesday 22 May 2002 08:19 am, you wrote: > Hi, > > I'm playing a bit with webwork and started going through the examples to > see how it works. > > I came to this question, what is meant by the following action: > <A href="tests/exprformtest!default.action"> > > I do understand that the action: "exprformtest.action" will be mapped to > the "doExecute()" method in "ExprFormTest.java", and that I could make a > method "doFoo()" in "ExprFormTest.java" that I can use as > "tests/exprformtest!foo.action". > > But what is meant with "exprformtest!default.action" (I would expect a > method "doDefault()" in ExprFormTest but I asume that I'm wrong). > No you are right. There is a doDefault() method in ActionSupport that returns INPUT. See ActionSupport.java -- Dave Bryson |