| <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <html:html locale="true"> <head> <title><bean:message key="index.title" /></title> <html:base/> </head> <body> <html:errors/> <html:form action="/logon"> <bean:message key="prompt.username"/> <html:text property="username"/> <br/> <bean:message key="prompt.password"/> <html:password property="password"/> <br/> <html:submit> <bean:message key="index.logon"/> </html:submit> </html:form> </body> </html:html> |
| <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <html:html> <head> <title><bean:message key="main.title"/></title> <html:base/> </head> <body> <html:link forward="logoff"> <bean:message key="main.logoff"/> </html:link> </body> </html:html> |
| index.title=Struts Homepage prompt.username=Username prompt.password=Password index.logon=Log on main.title=Struts Main page main.logoff=Log off error.password.mismatch=Invalid username and/or password. |