跳转问题

来源:互联网 发布:人工智能普通程序实现 编辑:程序博客网 时间:2024/06/06 08:53

 

假设我要做一个可以跳转到index.jsp页面的按钮:

html标签:<input type="button" value="跳转" onclick="javascript:window.location.href='index.jsp'">
struts标签:<html:button onclick="javascript:window.location.href='index.jsp'">跳转</html:button>
href也可以写.do

 

 

原创粉丝点击