点击按钮执行后台方法 <input onclick="window.location.href='wechatSys/text.action'" type="button" value="注册"> 这样子就可以调用后台的方法了