一个页面<a href="<%=context%>/AddOrUpdate.jsp?method=update&id=<s:property value="userId"/>">Update</a>另一个页面AddOrUpdate.jsp中 from的action用传到parameters的method的值,既上面的update