Struts Validation Empty alert Box

leela addagulla

Greenhorn

Posts: 10

posted 8 years ago

Hello,

I am using Struts Validation. The validation is working properly. But I get an empty Alert box with no message. But i see that the focus is set to the field left empty.
Can anyone please help me with this?

Also, kindly post only the immediately relevant portions--600 lines of code and configs is a lot to wade through. Most problems can be reduced their core rather easily. In this case, for example, you could probably reproduce the issue with a very short example.

leela addagulla

Greenhorn

Posts: 10

posted 8 years ago

Hi David,

Sorry for that messy Code.
Please find the relevant portions of the code in each of file below.

Struts-Config.xml:

Validation.xml

ActionForm:

The JSP: MemberCompanyDetail.jsp:

leela addagulla

Greenhorn

Posts: 10

posted 8 years ago

I missed the errors.required property in the Application resources. Its working fine now.