I have always choosen an extension that was meaningful for the
application... for instance, for a system I did called Transfer Of Assets,
it was .toa... for the blog on my own page it is .blog.  I never really
thought about it in terms of URLs not changing or being able to know what
technology was in use, it just made sense to me.

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Fri, July 29, 2005 8:55 am, Jeff Beal said:
> Imagine a company currently using PHP who decides their app has grown
> past the constraints of PHP.  It would be silly of them to change the
> file extension on their URIs just because they're changing technology,
> so they just map *.php to the Struts Servlet.
>
> Of course, if the web developers at that company were really smart,
> they'd have been following the guidelines described in
> http://www.w3.org/Provider/Style/URI.html and wouldn't have such a
> problem.  Few people do this, though.
>
> -- Jeff
>
> On 7/28/05, John Henry Xu <[EMAIL PROTECTED]> wrote:
>> I mapped to .html but not .asp, and I doubt many people would map java
>> apps to .php, .asp or .aspx in hosting companies (Of course u can
>> technically but I can not see the benefit). That's why I assume if I see
>> .php, I know it is php site with 99% confidence.
>>
>> The reason for our mapping to html was that this page is rather stable
>> and I don't change their contents over time (in general). And for
>> security reason as Stéphane said. For PHP and perl it is very simple to
>> do that. For java it is a little more difficult but manageable. It can
>> give you more URL addresses as Neil said.
>>
>> As for jsf, is it .jspx? or maybe mapping to others? It is possible jsf
>> maps to html. jsf using .aspx? It is unthinkable even technically
>> possible.
>>
>> John H. Xu
>>
>>   ----- Original Message -----
>>   From: "Neil Erdwien"
>>   To: "Struts Users Mailing List"
>>   Subject: Re: JSF is the beginning of the end of Struts !!!
>>   Date: Thu, 28 Jul 2005 11:01:29 -0500
>>
>>   >
>>   > I presume preserving URLs is the reason to map one technology's
>>   > default extention to another. For example, if you have a static
>>   > web site with files than end in .html, and switch to Java/Struts,
>>   > then you can map *.html to the Struts' action servlet.
>>   >
>>   > The end users' bookmarks don't have to change, but you're really
>>   > running a Struts action under the covers.
>>   >
>>   >
>>   > Stéphane Zuckerman wrote:
>>   > > John Henry Xu a écrit :
>>   > >
>>   > >>>> Actually, my favorite sites are the
>>   > >>>
>>   > >>>
>>   > >>> ones that map "*.asp" to the Struts servlet. Gotta love people
>>   that
>>   > >>> bend minds like that!
>>   > >>
>>   > >>
>>   > >>
>>   > >>
>>   > >> I cannot imagine what motivates people tried to map there
>>   servlets to
>>   > >> .asp. Even I could easily map my site to .aspx, I would not do
>>   that.
>>   > >> Although I respect MS, I am not really a huge fun of Microsoft.
>>   If I
>>   > >> implement sites with Java, I want java take credits. If I
>>   implement sites
>>   > >> in PHP, I want PHP take credits, I would not map that to .asp.
>>   If I use
>>   > >> .net, I don't map it to jsp also. If I saw a site ends with .php
>>   or
>>   > >> .aspx, I assume that was a php and .net site, and I belieave I
>>   am right
>>   > >> on that with 99% confidence.
>>   > >
>>   > >
>>   > > I guess this is against wannabe crackers. Yes, yes, I know,
>>   security
>>   > > through obscurity, blah blah blah... Well, once you've done
>>   everything
>>   > > that isn't obfuscation-related, there is only obscurity that
>>   remains,
>>   > > and frankly, it does help gain a few {minutes,hours} before the
>>   nasty
>>   > > black hats break the server. :-)
>>   > >
>>   >
>>   > -- Neil Erdwien, [EMAIL PROTECTED], Web Technologies Manager
>>   > Computing and Network Services, Kansas State University
>>   >
>>   >
>>   ---------------------------------------------------------------------
>>   > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>   > For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>
>> John H. Xu
>>
>>
>> http://www.usanalyst.com
>>
>> http://www.GetusJobs.com (The largest free job portal in North America)
>>
>> --
>> ___________________________________________________________
>> Sign-up for Ads Free at Mail.com
>> http://promo.mail.com/adsfreejump.htm
>>
>>
>>
>
> ---------------------------------------------------------------------
> 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