Yes, there might be issues if a user calls themselves the same as a page.
However, most pages have an extension. In 2.1, I hope to add extensionless
URLs, which might present a problem.

http://raibledesigns.com/rd/entry/extensionless_urls_in_java_web

Matt

On Wed, Apr 22, 2009 at 8:33 AM, tibi <t...@dds.nl> wrote:

> thinking a bit more... if a users calls itself main
> than the main page is no longer reachable, no?
>
> tibi wrote:
> > sorry it first looks to find the users... all is fine ;)
> >
> > tibi wrote:
> >
> >> mmm what happens if a users calls himself main?
> >> mayby /id/* is better?
> >>
> >>
> >>
> >> Matt Raible wrote:
> >>
> >>
> >>> I'd suggest writing a filter that maps to /* and for each request,
> >>> looks up the username to see if it exists. If it does, it forwards to
> >>> that users profile. If it doesn't find it, it redirects to the URL
> >>> requested.
> >>>
> >>> Matt
> >>>
> >>> On Wed, Apr 22, 2009 at 7:18 AM, Jakob Günther <jakobguent...@yahoo.de
> >>> <mailto:jakobguent...@yahoo.de>> wrote:
> >>>
> >>>     Hi,
> >>>
> >>>     I am using appfuse2.1 with JSF.
> >>>
> >>>     In my project I have user-profiles identified by id. Each profile
> >>>     should
> >>>     have a unique URL. For example: "www.appfuse.org/username
> >>>     <http://www.appfuse.org/username>"
> >>>
> >>>     How would you realize this in appfuse?
> >>>
> >>>     Thanks in advance,
> >>>     Jakob
> >>>
> >>>
> >>>
> ---------------------------------------------------------------------
> >>>     To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> >>>     <mailto:users-unsubscr...@appfuse.dev.java.net>
> >>>     For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >>>     <mailto:users-h...@appfuse.dev.java.net>
> >>>
> >>>
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >>
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> > For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to