I forgot this about Struts 1.2.4, James. Good point. I think your thing with the marketing people is funny. While I am certain it was not so funny for you at that time, I would have liked to be a potted plant in the room for that discussion.
You can expect, I think, marketing people to have this problem, since programming engineers have the same problem constantly. The idea of a URL as an "address" rather than a code or a protocol to be read is constantly causing difficulty. You should have changed the .do to .HANKY_PANKY to avoid the seeming connection to extensions for files at all. LOL Jack On Thu, 28 Oct 2004 10:45:20 -0400, James Mitchell <[EMAIL PROTECTED]> wrote: > Yes, as of Struts 1.1, you only had to hard code the '.do' in a few tags. > As of Struts 1.2.4, every struts tag (that needs to) will let you specify > action="/myAction" thereby eliminating any hard coded '.do'. > > Unless you are doing anything funky, you should be able to change to any > extension....and if you are _not_ using Struts Modules, you can go back and > forth between extension (*.do) and path (/myapp/foo/myaction) mapping by > simply changing the web.xml file. > > I did this on a previous project, and it didn't go over as I had hoped > during a meeting with a few Marketing people. I spent the next few weeks > explaining that the app was NOT writing in .Net. A few people were smart > enough to notice the '.aspx' in the address bar and relate it to ASP.NET, > but not smart enough to really understand the relationship between the URL > and the technology behind it.....GEEEEEZ!! > > > > > -- > James Mitchell > Software Engineer / Open Source Evangelist > EdgeTech, Inc. > 678.910.8017 > AIM: jmitchtx > > ----- Original Message ----- > From: "Chaikin, Yaakov Y." <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Thursday, October 28, 2004 10:32 AM > Subject: RE: Hiding .do > > > James, > > > > Is that really true? > > > > Are you saying that Struts custom tags automatically pick up their > > extension > > from the controller servlet mapping in web.xml? > > > > Hmm... I was under the impression that it was the other way around. Struts > > tags produced "*.do" and you need to map it in web.xml in order for the > > controller to kick in for handling those requests. > > > > What about <html:form>? This tag automatically sticks ".do" at the end. > > > > Thanks, > > Yaakov. > > > > -----Original Message----- > > From: James Mitchell [mailto:[EMAIL PROTECTED] > > Sent: Thursday, October 28, 2004 10:14 AM > > To: Struts Users Mailing List > > Subject: Re: Hiding .do > > > > If you've coded your app without hard references to ".do", then you only > > need to change the web.xml file and all links/forms will be changed. > > > > For some fun, try changing to *.aspx and give a demo to your boss!! > > > > > > > > -- > > James Mitchell > > Software Engineer / Open Source Evangelist > > EdgeTech, Inc. > > 678.910.8017 > > AIM: jmitchtx > > > > ----- Original Message ----- > > From: "Chaikin, Yaakov Y." <[EMAIL PROTECTED]> > > To: "StrutsUser (E-mail)" <[EMAIL PROTECTED]> > > Sent: Thursday, October 28, 2004 10:06 AM > > Subject: Hiding .do > > > > > >> Hi, > >> > >> Could someone either explain the steps or point me to a web page that > >> explains how to develop/deploy a Struts based app without the user having > >> to > >> see the ".do" in the URLs but still take advantage of the Struts custom > >> tags? > >> > >> Thanks, > >> Yaakov. > >> > >> --------------------------------------------------------------------- > >> 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] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not necessary for eagles to be crows." ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]