I'm using Stripes to develop a web application (it's a personal, but useful, project just to learn the framework). Actually I have two ActionBeans that are located in two different packages and I need to forward the resolution of the first ActionBean (step1) directly to the second one (step2). Is it possible? The problem is that if I specify the full path in the ForwardResolution constructor (i.e. it.overzero.project.package2.actionbean2) it is appended to the path of the first invoked ActionBean, so my application tries to find the second ActionBean at it.overzero.project.package1.actionbean1.it.overzero.project.package2.actionbean2 and this is obviously wrong. What is the correct logic to follow to do this?
Thanks, Gabriele Fabbri
Joined: Dec 05, 2008
Ok, I just solved the problem in this way:
The fist actionbean is in the package it.overzero.prj The second actionbean is in the package it.overzero.prj.pkg
At this point, in the ForwardResolution constructor of the first actionbean I wrote: new ForwardResolution("../MySecondStep.action") and it works.
But I still have the doubt that this is not the proper way to proceed. Could you tell me if I'm going in the correct direction?