The way url calls action and passes parameters
Configure the action path in the xml file, ApproveAction is the path configured in xml
DelInfoById is the method you want to call in the action file, and id is the parameter to be passed.
Http://localhost:8080/project/ApproveAction.do?method=delInfoById&id=dbaac40e932b11e9aeb26c92bf669f78
This type of writing is used to test calling the action method. In the action method, use the
String id=request.getParameter ("id"); this method gets the parameter values passed by url.