Found the problem. It's a rather careless question. UserAction does not implement the ModelDriven interface, so the model driver cannot encapsulate the data passed from the front desk into the User, so the username and password obtained by verifying the file are always null. You only need the UserAction class to implement the ModelDriven interface, and the problem is solved
Found the problem. It's a rather careless question. UserAction does not implement the ModelDriven interface, so the model driver cannot encapsulate the data passed from the front desk into the User, so the username and password obtained by verifying the file are always null. You only need the UserAction class to implement the ModelDriven interface, and the problem is solved