点击按钮执行后台方法

<input onclick="window.location.href='wechatSys/text.action'" type="button" value="注册">

这样子就可以调用后台的方法了

   

原文地址:https://www.cnblogs.com/suiyisuixing/p/7646002.html