您的位置:首页 > 编程语言 > Java开发

Struts2.1&Hibernate3.2&Spring2.5集成[基于Annotation]--运行效果

2011-04-26 10:31 489 查看
一、对Action的访问url[注意超链接的不同访问方式]:

<table width="98%" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td height="45">
<div align="center">
<a href="departService!toList.action" mce_href="departService!toList.action" target="frmright"><img src="images/main_26.gif" mce_src="images/main_26.gif" name="Image1"
width="40" height="40" border="0" id="Image1"
onmouseover="MM_swapImage('Image1','','images/main_26_1.gif',1)"
onmouseout="MM_swapImgRestore()" /> </a>
</div>
</td>
<td>
<div align="center">
<a href="empService!toList" mce_href="empService!toList" target="frmright"><img src="images/main_28.gif" mce_src="images/main_28.gif" name="Image2"
width="40" height="40" border="0" id="Image2"
onmouseover="MM_swapImage('Image2','','images/main_29_1.gif',1)"
onmouseout="MM_swapImgRestore()" /> </a>
</div>
</td>
<td>
<div align="center">
<a href="#" mce_href="#"><img src="images/main_31.gif" mce_src="images/main_31.gif" name="Image3"
width="40" height="40" border="0" id="Image3"
onmouseover="MM_swapImage('Image3','','images/main_31_1.gif',1)"
onmouseout="MM_swapImgRestore()" /> </a>
</div>
</td>
</tr>
<tr>
<td height="25">
<div align="center" class="STYLE2">
<a href="departWS_toList.action" mce_href="departWS_toList.action" target="frmright">部门管理</a>
</div>
</td>
<td>
<div align="center" class="STYLE2">
<a href="empWS_toList.html" mce_href="empWS_toList.html" target="frmright">员工管理</a>
</div>
</td>
<td>
<div align="center" class="STYLE2">
<a href="#" mce_href="#">权限管理</a>
</div>
</td>
</tr>
</table>


不同的超连接:

href="departService!toList.action"

href="empService!toList"

href="departWS_toList.action"

href="empWS_toList.html"

href="empWS_toList"

运行结果:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: