On Thu, 28 Oct 2004 10:32:30 -0400, Chaikin, Yaakov Y.
<[EMAIL PROTECTED]> wrote:
> James,
> 
> Is that really true?
> 
> Are you saying that Struts custom tags automatically pick up their extension
> from the controller servlet mapping in web.xml?
> 
> Hmm... I was under the impression that it was the other way around. Struts
> tags produced "*.do" and you need to map it in web.xml in order for the
> controller to kick in for handling those requests.
> 
> What about <html:form>? This tag automatically sticks ".do" at the end.

AFAIK, struts controller servlet parses web.xml when it is initiated.
And according to the mapping (say it "*.do" or "/do/*") struts tags
generate correct URLs. Not only <html:form>, also <html:link> needs
this this mapping information too.

/tb.

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

Reply via email to