ohhhhh, I had to face this problem some weeks ago.... And no way my friend..... The only solution us that the target attribute of the <html:form> tag be a request time expression, like this: JSP <html:form action="cloneAtack" target=<%=request.getAttribute("whereIsTheTarget")%> > bla bla bla </html:form> ACTION ... request.setAttribute("whereIsTheTarget", "_blank ") /*for example*/ ,... Be carefull with validate method, if the input page is the same, so the attribute "whereIsTheTarget", may be lost, because it is in request, luckyly, in the validate method we have the request as parameter, so you can set it again... It wish it helps you.. Lucas
Nitish Kumar <[EMAIL PROTECTED]> escribió: I have a application which extensively uses iframes. On some of the submit buttons I have to change the parent frame, while on some actions, I have to just update the current frame. I use target = "_parent" or target = "_self" for this purpose. Till this point every thing works fine. The problem starts when some of the validation for the action where parent frame is to be updated fails. I get errors on the parent frame because I have specified target="_parent" , Is there any way, by which I can change the target through action class or from the server? Thanks and Regards, Nitish Kumar __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar