John, Seems obvious that errors are lost after 'first forward' or 'forward to bean', but i would say this is at least unexpected.
My case is that in one listItems() i do some actions to select a list of items from db and forward to items.jsp where i show them. And there are several places from which i want to do forward to items.jsp but of course i don't want to copy the code of listITems(). One of these places is autoCreateItem() method in another bean. From it instead of error status i need to forward to items.jsp. But I have to do some checks if i can auto-add item - so in case of errors i'm adding the error messages, only after that i can forward to listItems() where i finally forward to items.jsp. So i just can't forward to bean before adding errors. What can you suggest? By the way is it documented anywhere that errors would be deleted from context? I thought that forward operation (no matter where) keeps the context and thus all its attributes - isn't it so? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
