Alternatively, if you want to avoid constructing the query string
manually, you can use the ActionRedirect class (as of 1.2.7 I believe).
This has an addParameter() method specifically for this. Typically, you
would pass an existing ActionForward instance to ActionRedirects'
constuctor to copy it
Deepa Khetan wrote:
Hi,
I am trying to add a parameter at runtime in ActionMapping of my Action
Class. I am using mapping.setParameter() for this. It gives an
IllegalStateException saying Configuration file is frozen. Is there a way in
which i can add a parameter at runtime??
Regards,
Deepa
Hi,
I am trying to add a parameter at runtime in ActionMapping of my Action
Class. I am using mapping.setParameter() for this. It gives an
IllegalStateException saying Configuration file is frozen. Is there a way in
which i can add a parameter at runtime??
Regards,
Deepa
3 matches
Mail list logo