标签:method get 数值 参数 action 配置 inf 调用 传递
在xml文件中配置action路径,ApproveAction即xml中配置的path,http://localhost:8080/project/ApproveAction.do?method=delInfoById&id=dbaac40e932b11e9aeb26c92bf669f78
该种写法用来测试调用action方法,action方法中,使用
String id=request.getParameter("id"); 这种方法即可获取url所传递的参数值。
标签:method get 数值 参数 action 配置 inf 调用 传递
原文地址:https://blog.51cto.com/5250500/2411755