Can I do the following?

Same action class sets different attribute
according to the change of parameter?

Thanks

<action path="/userProfileMaint"
        type="com.erp.struts.SetRoleHref"
        parameter="userProfileMaint"

<action path="/quotationMaint"
        type="com.erp.struts.SetRoleHref"
        parameter="quotationMaint"

public class SetRoleHref extends Action {
            String myValue = request.getParameter("parameter");
            session.setAttribute("rolehref", myValue);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to