Could somone suggest why this works

@Result(name="identify", type="redirectAction",
location="connect",params={"reference","%{serialNumber}"})

and this doesn't
@Result(name="identify", type="chain",
location="connect",params={"reference","%{serialNumber}"})


and what I need to do to get the chain to work (I don't want the value of
serialNumber to appear in the URL which is what happens if I use
redirectAction).

I've got a getSerialNumber() method in the action this annotation is in, and
a setSerialNumber() method in action Connect. Debugging shows that
Connect.setSerialNumber() is called when using redirectAction, but it;s not
when using chain.

Regards
-- 
View this message in context: 
http://old.nabble.com/Convention-plugin---passing-parameters-tp28436056p28436056.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to