struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <hus...@apache.org>
Subject Re: [PROPOSAL] Merge Able/Code Behind/Zero-Config/SmartURLs into view-behind specification
Date Fri, 02 Nov 2007 15:04:45 GMT
Just to follow up, I tried most of these using the  0.18 MailReader
using a .do extension mapping.

The result were the same, so long as "index.do" is appended to the end
of each of the URLs.

Without extension-mapping, evidentially, it tries to seek /index, and
then falls back to to the document-root /index when it isn't found in
the current directory.

-Ted.

On Nov 2, 2007 1:52 AM, Jeromy Evans <jeromy.evans@blueskyminds.com.au> wrote:
> Here's the same example in the unmodified MailReader:
>
> Register a user and login:
> GET http://localhost:8080/register/update!input allows you to edit your
> current profile (okay)
> GET http://localhost:8080/register/ shows the root index page (the one
> at /index)  (not okay)
> GET
> http://localhost:8080/register/login-input/register/login-input/register/login-input/
> shows the root index page (not okay)
> GET http://localhost:8080/register/update!input/login redirects to GET
> http://localhost:8080/register/update!input/menu (not okay)
> GET http://localhost:8080/subscribe/update!input/logout redirects to GET
> http://localhost:8080/subscribe/update!input/index  (not okay)
>
> It seems to be a bit too eager matching actions in the root namespace.
>
> Anyway, I wasn't intending to raise bugs. As I mentioned already, I
> think this is going to be a great change, but the exception handling and
> defaults need to be examined a little closer.
>
> Hope that helps,
> Jeromy Evans
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
HTH, Ted <http://www.husted.com/ted/blog/>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message