假设我要做一个可以跳转到index.jsp页面的按钮:
html标签:<input type="button" value="跳转" οnclick="javascript:window.location.href='index.jsp'">
struts标签:<html:button οnclick="javascript:window.location.href='index.jsp'">跳转</html:button>
href也可以写.do
假设我要做一个可以跳转到index.jsp页面的按钮:
html标签:<input type="button" value="跳转" οnclick="javascript:window.location.href='index.jsp'">
struts标签:<html:button οnclick="javascript:window.location.href='index.jsp'">跳转</html:button>
href也可以写.do