У меня есть подписчики, определенные в [b][code]struts-config.xml[/code]:[/b] [code]
[/code] [b]Форма входа:[/b] [code]public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (userName == null || userName.length() < 1) { System.out.println("in validate ---"); errors.add("userName", new ActionMessage("error.userName.required")); // TODO: add 'error.name.required' key to your resources } if (password == null || password.length() < 1) { errors.add("password", new ActionMessage("error.password.required")); // TODO: add 'error.name.required' key to your resources } return errors; } [/code] [b][code]login.jsp[/code]:[/b][code]
[/code] [b]Файл свойств:[/b] [code]error.userName.required = User Name is required. error.password.required = Password is required. [/code] Где я делаю не так? Я получаю следующую ошибку
javax.servlet.jsp.JspException: невозможно найти ошибку компонента ни в какой области