1. Make sure that your form handler extends GenericFormHandler (This FH defines formError and formExceptions Vector).
2. When you add form exceptinos in your FH, set the formError flag as true.
3. In the jsp, check for the form error flag, if it is set, iterate through the formExceptions vector and display the error message.
Below is the sample code:
Try to print what Praveer is suggesting, or if you want to debug the code and check whether your DropletExceptions is being added or not then call getFormError() and getFormExceptions() from your method to see what values you are getting.
my suggestion would be to create message repository and versioned it so that to avoid the hard coding of exceptions in formhandlers.
Hi in your xxxFormHandler.properties set parameter loggingDebug=true and add exception like
addFormException(new DropletException("exception ......."));
it may help to check if it is adding..
-Also check carefully names of formhandler and component it may have small/captal letter mistake.