Hi,

how can i cange the "action" attrbute of the html:form tag
dynamically, so that the path that to which the form will be submitted changes 
everytime the JSP is brought up

if i do something like this in my action class


if (((ReviewTeamForm)form).getCommand()!=null)
  request.setAttribute("performAction", "/reviewTeam");
 else
  request.setAttribute("performAction", "/editReviewTeam");

then in the jsp i do
<html:form name="someform" type = "com.sasken.erp.sdlc.action.ReviewTeamForm" action 
="<bean:write name='performAction' />" >

this does not work

any help help willbe appreciated

Deepank

Reply via email to