Yes, yes, I know, but my doubt is:

When calling "DoItNow.do" or "DoItNow.xhtml"? Where in my config do I say that "DoItNow" is having .xhtml extension or .do one? Because, in <s:url action="actionName"> you do not specify the extension.

Thanks.

Jeromy Evans escribió:
Pablo Vázquez Blázquez wrote:
May I have 2 different action extensions in the same webapp? Where do I indicate the extension for each action? Now, I have set <constant name="struts.action.extension" value="do"/> in my struts.xml file, so .do is the extension for all actions.

Hi Pablo,
That's simply a comma separated value:
eg. <constant name="struts.action.extension" value="do,action,,xhtml"/>
means .do, .action, <blank> or .xhtml
where <blank> means no extension all (note the double comma achieves this)

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



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

Reply via email to