Forum Moderators: open

Message Too Old, No Replies

Code for Redirect from .xml to .htm

My .htm pages do the db work, .xml is static

         

BobOConnor

10:45 am on Aug 18, 2005 (gmt 0)

10+ Year Member



I have successfully made an automated RSS page
to provide a list of Blog entries on our site
but it is an .htm file (java/tomcat/mysql)
It doesn't work with .xml files because I
can't call an app that does the SQL select

SO,

Is there a ligit redirect line that can be
put in the static .xml page to redirect
to the .htm page? and yes, in case you
are wondering, the .htm page
has <%@ page contentType="text/xml"%>
as the first line.

TIA

AHO - Bob O

choster

3:54 pm on Aug 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is best accomplished at the server level.

There is no provision for "redirect" functionality in the RSS schema. More generally, XML is just a data description language-- one wouldn't for instance ask "what button do I use in Microsoft Word to redirect to a different document."