Thats a great tip. Good blog if its not there already !! Great to see your still blogging C++ stuff
By the way Sean (and all), there is interesting blog entry on XML (you might have seen it if you slashdot)by the XML Co-Creator , mentions some MX stuff, Read it here : XML Is Too Hard For Programmers http://www.tbray.org/ongoing/When/200x/2003/03/16/XML-Prog WG -----Original Message----- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: 20 March 2003 03:41 To: CF-Talk Subject: Re: Context root issues - an informal poll On Wednesday, Mar 19, 2003, at 09:29 US/Pacific, Christian Cantrell wrote: > I'm wondering how many of you use CFMX with JRun (or another J2EE > server) and use a context root other than "/". In other words, how > many of you have to use /cfusion or /cfmx to access your ColdFusion > pages? I'm wondering because this type of configuration can affect the > way sample applications are distributed. A useful tip: CFMX applications can be written to work regardless of the actual context root: In Application.cfm (for example): <cfparam name="request.contextRoot" default="#getPageContext().getRequest().getContextPath()#"> Then use #request.contextRoot# wherever you need to construct a root-relative URL: <a href="#request.contextRoot#/path/to/myfile.cfm">link</a> Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

