src/java/de/uapcore/lightpit/Constants.java

changeset 11
737ab27e37b3
parent 10
89e3e6e28b69
child 13
f4608ad6c947
equal deleted inserted replaced
10:89e3e6e28b69 11:737ab27e37b3
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 * 27 *
28 */ 28 */
29 package de.uapcore.lightpit; 29 package de.uapcore.lightpit;
30 30
31 import static de.uapcore.lightpit.Functions.fullyQualifiedName; 31 import static de.uapcore.lightpit.Functions.fqn;
32 32
33 /** 33 /**
34 * Contains all constants used by the this application. 34 * Contains all constants used by the this application.
35 */ 35 */
36 public final class Constants { 36 public final class Constants {
37 public static final String JSP_PATH_PREFIX = "/WEB-INF/view/"; 37 public static final String JSP_PATH_PREFIX = "/WEB-INF/jsp/";
38 38
39 public static final String REQ_ATTR_MENU = fullyQualifiedName(AbstractLightPITServlet.class, "mainMenu"); 39 /**
40 public static final String REQ_ATTR_PATH = fullyQualifiedName(AbstractLightPITServlet.class, "path"); 40 * Key for the request attribute containing the class name of the currently dispatching module.
41 */
42 public static final String REQ_ATTR_MODULE_CLASSNAME = fqn(AbstractLightPITServlet.class, "moduleClassname");
43
44 /**
45 * Key for the request attribute containing the {@link LightPITModule} information of the currently dispatching module.
46 */
47 public static final String REQ_ATTR_MODULE_INFO = fqn(AbstractLightPITServlet.class, "moduleInfo");
48
49 /**
50 * Key for the request attribute containing the menu list.
51 */
52 public static final String REQ_ATTR_MENU = fqn(AbstractLightPITServlet.class, "mainMenu");
53
54 /**
55 * Key for the request attribute containing the full path information (servlet path + path info).
56 */
57 public static final String REQ_ATTR_PATH = fqn(AbstractLightPITServlet.class, "path");
41 58
42 /** 59 /**
43 * This class is not instantiatable. 60 * This class is not instantiatable.
44 */ 61 */
45 private Constants() {} 62 private Constants() {}

mercurial