This has nothing to do with the action attribute per se, but rather the sad fact that you cannot 'nest' jsp tags in that manner.
You will need to use an ugly scriptlet in place of that nice clean bean:write tag to render the attribute value to the page. -----Original Message----- From: deepank [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 21:42 To: Struts Users Mailing List Subject: changing "action" for a form dynamically 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 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

