You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jacob Hookom <ho...@uwec.edu> on 2002/07/19 02:12:16 UTC

[HELP!] Save token for errors

I'm running into a little issue, in my action, if an error occurs I need
to rollback while including the sent parameters, this is causing some
issues, for some reason, it's not appending the params:

// 1 or more errors occurred, rollback to insert page
if (errors.size() > 0)
{
	this.saveErrors(arg2, errors);
	this.saveToken(arg2);
	return new ActionForward(arg0.getInput());
}
// everything went okay, return to success page
else
{
	return new ActionForward(
		arg0.findForward("success").getPath()
			+ "?folderId="
			+ info.getFolderId());
}

This same snippet is used in my other actions, but this one is screwy
and always returns nothing for parameters.

HELP PLEASE! :-)

-jake

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>