Yeah, if you are worried about URL format, I would actually argue that you
should encrypt the url so that users can't muck around with it..  I think
the extra layer would be the way, and would be a nice "extension" to
contribute back.


> -----Original Message-----
> From: Henning P. Schmiedehausen [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 17, 2004 11:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Two Problems
>
>
> "Gray, Cameron C." <[EMAIL PROTECTED]> writes:
>
> >Henning,
>
> >The problem is a "what the user sees in the address bar" issue with the
> >client, he wants "nice" urls.
>
> >I want to remap the URL not anything else...
>
> >For instance
> ><context>/<servlet-mapping>/template/homePage.vm
> >He would prefer as
> ><context>/<servlet-mapping>/display/homePage.vm
>
> >I quote "he thinks template gives the wrong impression to visitors".
>
> Change the constant in the Turbine source code. Rebuild. That's what
> Open Source is all about. :-)
>
> >He doesn't like the fact that "," translates to %23 when used in a link
> >by IE.
>
> %23? %2C I'd say. (Growing up with 8085 assembler definitely left its
> marks on me. ;-) ) %23 is the hash (#).
>
> However, as all the parts of the URI are really servlet parameters,
> and all the variables in PATH_INFO, QUERY_STRING and the POST stdin
> are equal, I'd say that you could build a TemplateLink that could use
> POST or GET.
>
> >Any ideas?
>
> Well, this is IMHO looking for a solution that has no problem. Did you
> ever look at the URIs that Amazon hands out?
>
> I see no problem here. If a customer really cares about the URIs that
> an application hands out, one could build a layer between the TemplateURI
> tool and the Template Service, which translates foo,bar,baz.vm to
> xAbcD and then translates later xAbcD back to foo,bar,baz.vm .
>
>       Regards
>               Henning
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> [EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/
>
> RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
>    Linux, Java, perl, Solaris -- Consulting, Training, Development
>
> "Fighting for one's political stand is an honourable action, but re-
>  fusing to acknowledge that there might be weaknesses in one's
>  position - in order to identify them so that they can be remedied -
>  is a large enough problem with the Open Source movement that it
>  deserves to be on this list of the top five problems."
>                        -- Michelle Levesque, "Fundamental Issues with
>                                     Open Source Software Development"
>
> ---------------------------------------------------------------------
> 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