atom feed9 messages in org.apache.struts.userRe: Rewriting the URL in a form:form ...
FromSent OnAttachments
Erik HorstkotteDec 6, 2000 11:47 am 
Colin SampaleanuDec 6, 2000 2:21 pm 
Michael WestbayDec 6, 2000 3:24 pm 
Michael WestbayDec 6, 2000 6:38 pm 
Craig R. McClanahanDec 7, 2000 11:36 am 
Craig R. McClanahanDec 7, 2000 11:36 am 
Erik HorstkotteDec 7, 2000 11:41 am 
Michael WestbayDec 7, 2000 3:54 pm 
Erik HorstkotteDec 7, 2000 6:15 pm 
Subject:Re: Rewriting the URL in a form:form action
From:Craig R. McClanahan (Crai@eng.sun.com)
Date:Dec 7, 2000 11:36:14 am
List:org.apache.struts.user

Colin Sampaleanu wrote:

The action parameter can handle a runtime expression, so you should be able to build a custom value in there that includes the context path...

This approach definitely works ... but it would seem to make sense for the <form:form> tag to assume a path starting with "/" should be interpreted as context relative. Let me think about it a little more -- if there are no gotchas, I will make the tag smarter about this.

Craig

PS: That's one of the really really cool things about JSP custom tags -- you can make them smarter as you go along, and make life better for everyone :-).