You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by elyes sallem <el...@gmail.com> on 2008/12/16 13:49:05 UTC

error and messages in jsp page

Hello,
i want to display some message and some errors, if there is an exception
but the problem is that , in the jsp page, i get only the first line of the
error message
here is the code :

ActionMessage message = new
ActionMessage("error.fichierEntree.chargement",e.getCause().getMessage());
                messages.add(ActionMessages.GLOBAL_MESSAGE, message);
                saveErrors(request, messages);

and i put <html:errors> in the jsp

Regards
Elyes.