Path login. jsp does not start with a "/" Character
Obviously. A "/" is missing in the Struts-config configuration file. Add "/" (
Resources cannot be null
Keyword: Validate resources java. Lang. illegalargumentexception:
Java. lang. illegalargumentexception: resources cannot be null. org. apache. commons. validator. validator. (validator. java: 188) Org. apache. struts. validator. resources. initvalidator (resources. java: 475) Org. apache. struts. validator. validatorform. validate (validatorform. java: 104)
..............
It is because the struts form is configured, but you didn't configure the validate Method for her. You can use it after adding the validate.
Another solution is to put validate = "false" in the struts-config.xml ". This is a problem I encountered while learning Ajax. I thought it was a problem with Ajax.ArticlePut the Ajax verification example (2009.9.14)