Sometime I think /struts/* is another alternative. But we
have been massively *corrupted* by /*.do and might still feel
not too bad :-)

Jing
Netspread Carrier
http://www.netspread.com

----- Original Message ----- 
From: "Matt Raible" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, September 18, 2003 1:47 PM
Subject: RE: Is it possible to remove *.do or /do/* from the URL


> The reason I don't like extension mapping is because I think path-mapping
> (/do/*) is cleaner.  Also, I like using path-mapping b/c then we can add
> parameters and they look like regular URLs.
>
> For example - extension mapping:
>
> http://site.com/activities.do?activity=fishing or
> http://site.com/activities.do?fishing
>
> path-mapping:
>
> http://site.com/do/activities/fishing
>
> And then in our "activities" action, we can do a check
> (request.getPathInfo()) to see if we should serve up the "fishing" page
vs.
> the general activities one.
>
> Thanks to all for your opinions and practices.
>
> Matt
>
> -----Original Message-----
> From: Micael [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 18, 2003 11:33 AM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: Is it possible to remove *.do or /do/* from the URL
>
>
> I use .Whatever, where that is some marketing term that is acceptable.
>
> At 10:39 AM 9/18/2003 -0400, Vic Cekvenich wrote:
> >How about a hack:
> >*.jsp
> >It looks as jsp on top.... but it's a do.
> >Or you can even say *.asp, or anything.
> >Just pick a word marketing likes.
> >
> >.V
> >
> >Matt Raible wrote:
> >>I agree with you - however, it's a marketing thing.  The project I'm on
> has
> >>implemented a lot of folder/index.html (with meta-refresh) so that
> marketing
> >>materials have pretty URLs.  I was simply hoping to accomplish this
> without
> >>doing anything extra - so http://site.com/do/activities can be put into
> >>marketing materials as http://site.com/activities.  Maybe we could have
> >>marketing use http://site.com/activities/index.html and then use a
filter
> >>(mapped to *.html) to do a redirect to http://site.com/do/activities.
> >>Matt
> >>-----Original Message-----
> >>From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, September 18, 2003 1:26 AM
> >>To: Struts Users Mailing List
> >>Subject: Re: Is it possible to remove *.do or /do/* from the URL
> >>
> >>The important principle here is "Web Application != Web Site".  If your
> >>users feel compelled to use bookmarks and the back button in your
webapps,
> >>despite efforts to train them correctly, this is a pretty good sign that
> >>you have not provided enough suitable navigation controls in your basic
> >>UI.
> >>Craig
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> LEGAL NOTICE
>
> This electronic mail  transmission and any accompanying documents contain
> information belonging to the sender which may be confidential and legally
> privileged.  This information is intended only for the use of the
> individual or entity to whom this electronic mail transmission was sent as
> indicated above. If you are not the intended recipient, any disclosure,
> copying, distribution, or action taken in reliance on the contents of the
> information contained in this transmission is strictly prohibited.  If you
> have received this transmission in error, please delete the message.
Thank
> you
>
>
>
> ---------------------------------------------------------------------
> 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]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to