首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

哥哥姐姐们小弟有一有关问题

2012-01-21 
哥哥姐姐们小弟有一问题trtd colspan2 alignleft valigntopimg srcimages/bean:message

哥哥姐姐们小弟有一问题
<tr>
  <td colspan="2" align="left" valign="top">
  <img src="images/<bean:message key='system.backgroud'/>" border="0" usemap="#Map">
  <html:form action = "login.do" focus="username">
<table border="0" class="tb1">
<logic:notEmpty name="error">
<tr>
<td colspan="2" align="center">
<bean:message key='user.login.error'/>
</td>
</tr>
</logic:notEmpty>
<tr>
<td align="right"><bean:message key="user.username"/>:</td>
<td><html:text property="username" value="admin" styleClass="it"/></td>
</tr>
<tr>
<td align="right"><bean:message key="user.password"/>:</td>
<td><html:password property="password" value="admin" styleClass="it"/></td>
</tr>
<tr>
<td colspan="2" align="center" height="30">
<html:button property="lgoin" onclick="login()">
<bean:message key="user.button.login"/>
</html:button>
<html:reset>
<bean:message key="button.reset"/>
</html:reset>
</td>
</tr>
</table>
</html:form>
  </td>
  </tr>
 把以上代码换成struts2的标签 那位朋友 麻烦浪费点时间帮忙下 小弟不胜感激

[解决办法]
<s:if test="#error== ''">
</s:if>
替换<logic:notEmpty name="error">


[解决办法]
struts2标签这里有
http://student.csdn.net/space.php?uid=114894&do=blog&id=7026

热点排行