RE: creating ActionError inside a jsp page

2001-06-20 Thread Nanduri, Amarnath
: creating ActionError inside a jsp page Hi, Is it possible to create an Action Error object inside a jsp page. When i am trying to forward the user from one page to an other page, i need to show a confirmation message to the user (in the new page) and i was thinking of using an Action Error

Re: creating ActionError inside a jsp page

2001-06-20 Thread Martin Cooper
Are you forwarding directly from one JSP to another? That would seem to be mixing controller functionality with the view. On the other hand, if you're not doing that, then the Action between the pages is the place to create your ActionError. -- Martin Cooper - Original Message - From:

Re: creating ActionError inside a jsp page

2001-06-20 Thread Ted Husted
It should be possible, but you would also have to replicate the Action classes's SaveError method to expose the error collection to the next page in the request. See David Winterfeldt's validation package for tags that seperate errors and other messages. http://www.husted.com/about/struts/