I am try to forward to another action. If I set the views.properties
to the appropriate action, it does work, however the url in the
browser is the original url, so if the user refreshes they will re-
execute the previous command, and not just refresh this action.
I tried calling redirect from doExecute like the following :
Redirect redirect = (Redirect)ActionFactory.getAction("Redirect");
redirect.setUrl("CompanyNotesAction.action?companySeqNo="+getCompanySe
qNo());
return redirect.execute();
but then I get the following exception :
java.lang.IllegalStateException: Cannot forward after response has
been committed
this is in 3 different versions of tomcat...so I guess it could be a
tomcat issue, or I am just doing something totally wrong.
Any help would be appreciated.
Thanks,
Walt
*****************************************************
Walter Szewelanczyk
IS Director
M.W. Sewall & CO. email : wa...@mw...
259 Front St. Phone : (207) 442-7994 x 128
Bath, ME 04530 Fax : (207) 443-6284
*****************************************************
|