[opencms-dev] inputvalidation in offline/online projects (Opencms and struts2)

Volker fuzzy815 at googlemail.com
Thu Sep 24 11:51:11 CEST 2009


Hi,

I'm trying to build a struts2-Application in an opencms environment. So I
have integrated struts2 in opencms.

The application is very simple, just a view pages with some input fields.
The user input will be checked by some struts-validators.

In the offline project everything works pretty good. But if the pages are
published the validators are not working as expected.
In case of an input error the same page is shown (as expected), but the
error Messages are not displayed.

Debugging the application shows, that the validator works fine and put the
error message into the fielderror list.
But when the page is displayed, the fielderror list is empty even the user
input and session attributes are empty too. Again, offline everything works
as expected.

Has anyone an idea why the behavior of the application is totally different
in offline and online projects?

Best regards
  Volker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090924/2841a89c/attachment.htm>


More information about the opencms-dev mailing list