MentaTutorials

Compare Revisions

Ignore whitespace Rev 24 → Rev 25

/MentaRefAppWithService/trunk/src/main/java/org/menta/AppManager.java
154,6 → 154,7
.all(ajax(new ResultRenderer())); // return text/plain with the result...
action("/Login", LoginAction.class)
.pojoParams("username", "password")
.on(ERROR, fwd("/jsp/login.jsp"))
.on(SUCCESS, redir("/jsp/index.jsp"));