Home » Source Code » A Struts2 login applet » loginform.jsp

loginform.jsp ( File view )

  • By happyness51 2013-11-26
  • View(s):33
  • Download(s):0
  • Point(s): 1
			<%--
  -
  - $RCSfile: loginform.jsp,v $
  - $Revision: 1.20.2.2 $
  - $Date: 2003/10/04 20:33:33 $
  -
--%>

<%@ include file="global.jsp" %>

<%@ taglib uri="webwork" prefix="ww" %>
<%@ taglib uri="jivetags" prefix="jive" %>

<jsp:include page="header.jsp" flush="true" />

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
    <td width="98%">

        <%-- Breadcrumbs (customizable via the admin tool) --%>

        <jsp:include page="breadcrumbs.jsp" flush="true" />

        <%-- Text describing your community (customizable via the admin tool) --%>

        <p class="jive-page-title">
        <%-- User Login --%>
        <jive:i18n key="login.title" />
        </p>

    </td>
    <td width="1%"><img src="images/blank.gif" width="10" height="1" border="0"></td>
    <td width="1%">

        <%@ include file="accountbox.jsp" %>

    </td>
</tr>
</table>

<br>

<%-- Print info messages if they exist --%>
<ww:if test="infoMessages/hasNext == true">
    <%@ include file="info-messages.jsp" %>
    <br><br>
</ww:if>

<%-- Print the error message if an error is flagged --%>
<ww:if test="hasErrorMessages == true">

    <table class="jive-error-message" cellpadding="3" cellspacing="0" border="0" width="350">
    <tr valign="top">
        <td width="1%"><img src="images/error-16x16.gif" width="16" height="16" border="0"></td>
        <td width="99%">

            <span class="jive-error-text">
            <ww:property value="errorMessages[0]" />
            </span>

        </td>
    </tr>
    </table><br>

</ww:if>

<%-- Login using the form below. --%>
<jive:i18n key="login.description" />

<%  if (!"false".equals(JiveGlobals.getJiveProperty("skin.default.newAccountCreationEnabled"))) {
 %>

    <%--
        Or, <a href="account!default.jspa">create a new account</a>
        if you don't already have one.
    --%>
    <jive:i18n key="login.create_account">
        <jive:arg>
            <a href="account!default.jspa">
        </jive:arg>
        <jive:arg>
            </a>
        </jive:arg>
    </jive:i18n>

<%  
} %>

<br><br>

<ww:bean name="'com.jivesoftware.webwork.util.Counter'" id="tabIndex" />

<table cellpadding="3" cellspacing="0" border="0" width="80%" align="center">

<form action="login.jspa" method="post" name="loginForm">

<tr>
    <td class="jive-label">
        <%-- Username: --%>
        <jive:i18n key="global.username" /><jive:i18n key="global.colon" />
    </td>
    <td>
        <input type="text" name="username" size="30" maxlength="150" value="" tabindex="<ww:property value="@tabIndex/next" />">
        <ww:if test="errors['username']">
            <span class="jive-error-text">
            <br>
            <%-- Invalid username --%>
            <jive:i18n key="login.error_username" />
            </span>
        </ww:if>
    </td>
</tr>
<tr>
    <td class="jive-label">
        <%-- Password: --%>
        <jive:i18n key="global.password" /><jive:i18n key="global.colon" />
    </td>
    <td>
        <input type="password" name="password" size="30" maxlength="150" value="" tabindex="<ww:property value="@tabIndex/next" />">

...
...
(Please download the complete source code to view)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 1

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
.classpath1.01 kB14-10-13|13:34
.mymetadata294.00 B14-10-13|13:34
.project1.25 kB14-10-13|13:34
org.eclipse.jdt.core.prefs330.00 B14-10-13|13:34
login.sql462.00 B14-10-13|13:35
LoginAction.java748.00 B14-10-13|13:34
AdminDAO.java1.06 kB14-10-13|13:34
DAOException.java175.00 B14-10-13|13:34
DBUtils.java1.26 kB14-10-13|13:34
Admin.java591.00 B14-10-13|13:34
TestAdminDAO.java387.00 B14-10-13|13:34
db.properties106.00 B14-10-13|13:34
struts.xml669.00 B14-10-13|13:34
index.jsp834.00 B14-10-13|13:34
MANIFEST.MF36.00 B14-10-13|13:34
LoginAction.class1.59 kB14-10-13|13:34
AdminDAO.class2.04 kB14-10-13|13:34
DAOException.class436.00 B14-10-13|13:34
DBUtils.class2.04 kB14-10-13|13:34
Admin.class993.00 B14-10-13|13:34
TestAdminDAO.class1,023.00 B14-10-13|13:34
db.properties106.00 B14-10-13|13:34
struts.xml669.00 B14-10-13|13:34
loginform.jsp979.00 B14-10-13|13:34
welcome.jsp104.00 B14-10-13|13:34
web.xml791.00 B14-10-13|13:34
action0.00 B14-10-13|13:34
dao0.00 B14-10-13|13:34
entity0.00 B14-10-13|13:34
test0.00 B14-10-13|13:34
mvcdemo0.00 B14-10-13|13:34
action0.00 B14-10-13|13:34
dao0.00 B14-10-13|13:34
entity0.00 B14-10-13|13:34
test0.00 B14-10-13|13:34
zhang0.00 B14-10-13|13:34
mvcdemo0.00 B14-10-13|13:34
com0.00 B14-10-13|13:34
zhang0.00 B14-10-13|13:34
classes0.00 B14-10-13|13:34
jsp0.00 B14-10-13|13:34
lib0.00 B14-10-13|13:34
com0.00 B14-10-13|13:34
META-INF0.00 B14-10-13|13:34
WEB-INF0.00 B14-10-13|13:34
.myeclipse0.00 B14-10-13|13:34
.settings0.00 B14-10-13|13:34
src0.00 B14-10-13|13:34
WebRoot0.00 B14-10-13|13:34
webdemo0.00 B14-10-13|13:35
一个基于web的小程序0.00 B15-10-13|13:44
...
Sponsored links

loginform.jsp (18.21 kB)

Need 1 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D