图片按钮问题 按钮可用的时候显示一张彩色图片,按钮禁用时显示一张灰色图片是怎样实现的?struts2 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 if(可用) <input type="botton".....if(不可用) <input type="botton"..... <c:choose> <c:when test="${可用}"> <button bgimage="彩色"> </c:when> <c:otherwise> <button bgimage="灰色"> </c:otherwise></c:choose> <s:if test="判断条件"> <s:submit type="images" src="彩色图片" title=""/> </s:if><s:else> <s:submit type="images" src="灰色图片" title=""/></s:else>注:title设置是按钮提示信息,不设置title="",鼠标放在图片按钮上会显示"submit"提示信息。 jsp 后天处理问题 dwr3与s1sh集成 jsf如何增量更新前端标签值 关于weblogic部署的问题 JSP显示不出CSS 在使用过滤器过滤JSP页面时,发现该过滤取被反复执行 pStmt.setDate()的问题 多种限制条件的数据库查询问题? 请教: Java+FlexPaper 如何实现动态分页加载(延时加载) spring3+hibernate4+struts2整合问题 web工程中使用access数据库问题 Struts1.X中在action里面setAttribute的值forward到jsp页面取不到是什么原因?
<input type="botton".....
if(不可用)
<input type="botton".....
<c:when test="${可用}">
<button bgimage="彩色">
</c:when> <c:otherwise>
<button bgimage="灰色">
</c:otherwise>
</c:choose>
<s:submit type="images" src="彩色图片" title=""/>
</s:if>
<s:else>
<s:submit type="images" src="灰色图片" title=""/>
</s:else>注:title设置是按钮提示信息,不设置title="",鼠标放在图片按钮上会显示"submit"提示信息。