Moving from CF to Java - redirecting old pages to new ones

2009-06-05 Thread coldfusion . developer
All, We have over 100 cfm pages that we'll need to redirect to a reduced number of new, few jsp pages. Is the best way to do this at the server, IIS level or through the webpage level. I'm thinking, detect all requests globally and if they have a .cfm extension, look up that page in a db and

Re: Moving from CF to Java - redirecting old pages to new ones

2009-06-05 Thread Ryan Letulle
I know someone knows a better way but I have done it in the application.cfm using cfheader statuscode=301, statustext=Moved Permanently then another cfheader name=Location value="new url". First detecting whether it's the page in question of course. -- Ryan LeTulle On Fri, Jun 5, 2009 at 12:22

Re: Moving from CF to Java - redirecting old pages to new ones

2009-06-11 Thread William Seiter
I would suggest handling it at the webserver level. If you just put the cfheader data in the page, then the redirect won't occur until after the page has already been processed and sent back to the user's browser. By handling it at the server level, you reduce your companies processing for th