MentaTutorials

Rev

Rev 11 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 14
Line 2... Line 2...
2
2
3
import org.hellomenta.action.HelloAction;
3
import org.hellomenta.action.HelloAction;
4
import org.mentawai.core.ApplicationManager;
4
import org.mentawai.core.ApplicationManager;
5
5
6
public class AppManager extends ApplicationManager {
6
public class AppManager extends ApplicationManager {
7
-
 
-
 
7
       
8
        @Override
8
        @Override
9
        public void loadActions() {
9
        public void loadActions() {
10
               
10
               
11
                action("/Hello", HelloAction.class, "hi")
11
                action("/Hello", HelloAction.class, "hi")
12
                        .on(SUCCESS, fwd("/jsp/hello.jsp"));
12
                        .on(SUCCESS, fwd("/jsp/hello.jsp"));