Expand my Community achievements bar.

SOLVED

Form validation

Avatar

Level 3

Is there any recommended way to perform form validations in a sling Servlet? I  was thinking of using Spring Validation framework, please let me know your thoughts on this.

Note: I am not using form builder, just plain HTML forms. 

Thank you.

Cheers,

Viren.

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Correct answer by
Level 10

Avatar

Level 10

While Spring Validation is a good technology - i am not too sure if anyone has successfully integrated it with AEM. You would have to get the correct Spring run-time into the AEM OSGi service layer.