I think Greg answered my question sufficiently - at least, enough for my needs. If you're still interested, I'll try to find a JSP over the weekend. We're not really doing anything strange, though. It's just <s:url> tags, much like the one I posted earlier.

Martin Gainty wrote:
so you're saying that once .action is appended onto a URL its always in the URL
sounds like a caching problem

can you include a small jsp with relevant tags so we can reproduce the error?

thanks,
Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.



Subject: Re: To .action or not to .action.
From: d...@holstein.com
To: user@struts.apache.org
Date: Fri, 13 Mar 2009 16:24:35 -0400



I believe it's now the default behavior of struts 2.1.



We recently discovered, quite by accident, that we can cause our app
built on struts2 to NOT display ".action" on any of the URL's.  I'd
simply like to find out if this is an intended feature or a possible
defect?  The difference is in how we start off our interaction in the
browser.  If we use a URL like:

    http://localhost:8080/mysite/login.action

then all of the URL's in the site appear to be suffixed with ".action".
If, on the other hand, we use:

    http://localhost:8080/mysite/login

then none of the URL's are suffixed with ".action".

We're using Struts 2.1.6 with Tiles 2.0.4 - recently upgraded from some
prior versions.  We noticed this because our QE department's automated
testing software freaked out when it couldn't match URL's as it expected.

Thanks,
Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are addressed.
 If you receive this e-mail in error please notify postmas...@holstein.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


_________________________________________________________________
HotmailĀ® is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to