profile.jsp

来自「用Hibernate开发的JiveJdon」· JSP 代码 · 共 61 行

JSP
61
字号
<%@taglib uri="struts-bean" prefix="bean"%>
<%@taglib uri="struts-logic" prefix="logic"%>
<%@taglib uri="struts-html" prefix="html"%>
<%@ page contentType="text/html; charset=UTF-8" %>

<bean:define id="title"  value=" 编辑资料" />
<%@ include file="../../common/IncludeTop.jsp" %>

<br />
<html:form method="post" action="/account/protected/accountProfileSave.shtml" enctype="multipart/form-data" >
<html:hidden  property="action" value="edit" />
<html:hidden property="priofileId" />
<input type="hidden" name="contextPath" value="<%=request.getRealPath("/") %>" />
<html:hidden property="imagePath" />

<table bgcolor="#cccccc"
 cellspacing="0" cellpadding="0" border="0" width="500" align="center">
<tr><td>
<table bgcolor="#cccccc"
 cellspacing="1" cellpadding="3" border="0" width="100%">
<tr bgcolor="#eeeeee">
 <td>
 <font class=p3 
     color="#000000">
 <b>个人信息设置</b>
 </font>
 </td>
</tr>
<tr bgcolor="#ffffff">
 <td align="center">
 <table cellpadding="3" cellspacing="0" border="0">
 
<tr>
  <td>来自:</td><td><html:text name="accountProfileForm" property="address" /></td>
</tr>
<tr>
  <td>头像:</td><td><img src="<%= request.getContextPath() %><bean:write name="accountProfileForm"  property="imagePath" />" />
</tr>
 
<tr>
	<td></td>
   <td>上传新头像:<html:file property="theFile" size="30" /> </td> 
</tr>

<tr>
                    <td align="center" colspan="2">
                      <html:submit property="submit" value="保存设置"/>
                      <html:reset value ="重新设置"/>
                  </td>
</tr>
 </table>
 </td>
</tr></table>
</td></tr>
</table>

</html:form>

<p>
<%@include file="../../common/IncludeBottom.jsp"%></p>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?