KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > madvoc > IncognitoRequest


1 // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
2

3 package madvoc;
4
5
6 /**
7  * Example of a non-annotated class that was manually defined as an madvoc action.
8  * Class name doesn't ends with 'Action', there are no annotations etc.
9  */

10 public class IncognitoRequest {
11
12     /**
13      * Mapped to '/incognito.html'
14      */

15     public String JavaDoc hello() {
16         System.out.println("IncognitoRequest.hello");
17         return "ok";
18     }
19 }
20
Popular Tags