Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IndexAction |
|
| 1.0;1 |
1 | package org.seasar.cubby.examples.guice.action; | |
2 | ||
3 | import org.seasar.cubby.action.ActionClass; | |
4 | import org.seasar.cubby.action.ActionResult; | |
5 | import org.seasar.cubby.action.Forward; | |
6 | import org.seasar.cubby.action.Path; | |
7 | ||
8 | import com.google.inject.servlet.RequestScoped; | |
9 | ||
10 | @RequestScoped | |
11 | @ActionClass | |
12 | @Path("/") | |
13 | 0 | public class IndexAction { |
14 | ||
15 | public ActionResult index() { | |
16 | 0 | return new Forward("index.jsp"); |
17 | } | |
18 | ||
19 | } |