incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Jaquith (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-578) Get rid of *.action URLs.
Date Fri, 24 Jul 2009 22:21:14 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735188#action_12735188
] 

Andrew Jaquith commented on JSPWIKI-578:
----------------------------------------

FileBasedActionResolver is intended to solve this. It essentially externalizes the URLs that
Stripes binds to. The idea is to use the ActionResolver to construct short-ish URLs that match
whatever pattern we use for 3.0 and forward. We would use ShortUrlRedirectFilter to redirect
any that don't cleanly map to what Stripes can handle.

I'd like to suggest that we change emphasis slightly: better than "URLs should not change"
might be "old URLs will still work".

> Get rid of *.action URLs.
> -------------------------
>
>                 Key: JSPWIKI-578
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-578
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Core & storage, Default template
>            Reporter: Janne Jalkanen
>             Fix For: 3.0
>
>
> We currently have two URLs for each ActionBean - both the Wiki.jsp and Wiki.action are
available. Now, since the URLs are different, it has some nasty side-effects:
> * Users don't know which URL to bookmark, or they end up bookmarking both pages
> * Browsers don't know which pages are equal, and therefore both caching and page highlights
work inconsistently
> * Bots will index both pages, therefore giving odd results
> Since one of the design maxims of 3.0 is that URLs should not change, we should figure
out a way to get rid of the Stripes-induced *.action URLs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message