From: maxcooper Date: Mon, 9 Jun 2003 12:05:17 +0000 (+0000) Subject: index page now uses Constant values to facilitate testing X-Git-Tag: rel-2_0-alpha1~75 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a0513842dbdcd059598b8057cc7ce4adaae7ef04;p=securityfilter.git index page now uses Constant values to facilitate testing --- diff --git a/src/example/org/securityfilter/example/Constants.java b/src/example/org/securityfilter/example/Constants.java index 024ef14..1568297 100644 --- a/src/example/org/securityfilter/example/Constants.java +++ b/src/example/org/securityfilter/example/Constants.java @@ -1,7 +1,7 @@ /* - * $Header: /cvsroot/securityfilter/securityfilter/src/example/org/securityfilter/example/Constants.java,v 1.1 2003/06/09 10:59:42 maxcooper Exp $ - * $Revision: 1.1 $ - * $Date: 2003/06/09 10:59:42 $ + * $Header: /cvsroot/securityfilter/securityfilter/src/example/org/securityfilter/example/Constants.java,v 1.2 2003/06/09 12:05:17 maxcooper Exp $ + * $Revision: 1.2 $ + * $Date: 2003/06/09 12:05:17 $ * * ==================================================================== * The SecurityFilter Software License, Version 1.1 @@ -59,7 +59,7 @@ package org.securityfilter.example; * Constants - constants for the example applications to facilitate testing * * @author Max Cooper (max@maxcooper.com) - * @version $Revision: 1.1 $ $Date: 2003/06/09 10:59:42 $ + * @version $Revision: 1.2 $ $Date: 2003/06/09 12:05:17 $ */ public interface Constants { @@ -69,6 +69,9 @@ public interface Constants { public static final String VALID_PASSWORD = "password"; public static final String VALID_ROLE = "inthisrole"; + // home page constants + public static final String HOME_TITLE = COMMON_TITLE_BASE + "Home"; + // login form constants public static final String LOGIN_TITLE = COMMON_TITLE_BASE + "Login Page"; public static final String LOGIN_FORM_ID = "login"; diff --git a/web/share/index.jsp b/web/share/index.jsp index 7ca65a0..55b7995 100644 --- a/web/share/index.jsp +++ b/web/share/index.jsp @@ -1,10 +1,12 @@ +<%@ page import="org.securityfilter.example.Constants"%> + -SecurityFilter Example Application: Home +<%=Constants.HOME_TITLE%> -

SecurityFilter Example Application: Home

+

<%=Constants.HOME_TITLE%>

<%@include file="/menu.jsp" %> Welcome to the Security Filter example application. Use the menu above to navigate the site.