<?xml version="1.0"?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"> <jsp:directive.page import="java.util.*,com.perforce.api.*" contentType="text/html;charset=ISO-8859-1"/> <jsp:useBean id="base_env" scope="application" class="com.perforce.api.Env"/> <jsp:useBean id="env" scope="session" class="com.perforce.api.Env"/> <jsp:scriptlet> if (null != request.getParameter("logout")) { env.setUser("robot"); env.setPassword(""); } String title="P4JSP login"; </jsp:scriptlet> <jsp:text><HTML><HEAD> <jsp:directive.include file="head.jsp"/> </HEAD> <BODY bgcolor="#FFFFFF" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"> <TABLE width="780" cellspacing="0" cellpadding="0" border="0"> <jsp:directive.include file="navbar.jsp"/> <TR><TD><TABLE width="100%" cellspacing="0" cellpadding="0" border="0"> <TR><TD width="21"><IMG src="images/s.gif" width="21" rowspan="10"/></TD><TD width="100%"> <H1>Login:</H1> <FORM action="setenv.jsp"> <TABLE> <TR><TD nowrap="t" align="right">P4USER:</TD> <TD><INPUT type="text" name="usr" size="20"/></TD></TR> <TR><TD nowrap="t" align="right">P4PASSWD:</TD> <TD><INPUT type="password" name="passwd" size="20"/></TD></TR> <jsp:scriptlet> String dest = request.getParameter("dest"); if (null != dest) { out.println("<INPUT type=\"hidden\" name=\"dest\" value=\""+dest+"\"/>"); } </jsp:scriptlet> <TR><TD></TD><TD><INPUT type="submit"/></TD></TR> </TABLE> </FORM> <!-- <FORM method="POST" enctype="multipart/form-data" action="fup.cgi"> File to upload: <INPUT type="file" name="upfile"/> <br/> <INPUT type="submit" value="Press"/> to upload the file! </FORM> --> </TD></TR> </TABLE></TD></TR> </TABLE></BODY></HTML></jsp:text> </jsp:root>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5093 | Hari Krishna Dara |
Populating perforce branch. I will be adding p4admin files to it. |
||
//public/perforce/api/java/p4jsp/web/login.jsp | |||||
#4 | 2212 | David Markley | Fixed useBean bug to support Tomcat 4.1.12 | ||
#3 | 2207 | David Markley | Removed use of common tag library and reference to crimson API. | ||
#2 | 2081 | David Markley | Updated to support Tomcat 4.0.4 in the public depot. | ||
#1 | 1983 | David Markley | Branched p4jsp from guest to public depot. | ||
//guest/david_markley/p4jsp/web/login.jsp | |||||
#2 | 1842 | David Markley | Updated pages to include titles and added view and diff pages. | ||
#1 | 1824 | David Markley | Added initial files for p4jsp. |