01: // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
02:
03: package madvoc;
04:
05: /**
06: * Example of a non-annotated class that was manually defined as an madvoc action.
07: * Class name doesn't ends with 'Action', there are no annotations etc.
08: */
09: public class IncognitoRequest {
10:
11: /**
12: * Mapped to '/incognito.html'
13: */
14: public String hello() {
15: System.out.println("IncognitoRequest.hello");
16: return "ok";
17: }
18: }
|