MentaTutorials

Rev

Rev 11 | Details | Compare with Previous | Last modification | View Log | RSS feed

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