struts provide an option of having some static parameter for every actionmapping ....ie through the parameter attriute for the action-mapping tag . This parameter u can get in execute method of ur action class saying mapping.getParmeter ()
is this what u wanted right ??