I quite often have struts forwards that look like this;
<forward
name=”drilldown”
path=”showSomeData.do?id={0}”
redirect=”true” />
…for example, in a form that contains a list of items, this forward would be fired on clicking a specific item (to go to it’s detail page) passing in the relevant id.
If the path doesn’t contain the parameter(s) then the visual designer shows a nice connection between one action and the next (great – how it should be). As soon as you put parameters in, the designer creates what looks like a HTML link named after the forward’s path (i.e. showSomeData.do?id={0}) and loses any connection to the destination Action.
I’m not sure if I should be reporting this as a bug, or if I’m just going about things in an odd way…