2 Replies Latest reply on Jun 16, 2009 1:08 PM by Aart Scheepers

    index.jsf seen as text-plain

    Aart Scheepers Newbie

      Due to upwards compatibility I want to have a webpage index.jsf which should move the user to index.seam.



      At this moment the user has bookmarked a jsf-application to .../index.jsf. This application has been rewritten to Seam.



      I added in WebContent a file named index.jsf in which a redirect to home.seam.


      Firefox and other browsers show the page as text/plain, ie6 show the page as text/html


      How can I make seam send the file as text/html ?


      The index.jsf page looks like:


      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
       <meta http-equiv="content-Type" content="text/html; charset=iso-8859-1" > 
        <meta http-equiv="Refresh" content="0; URL=home.seam"/>
      </head>
      <body>
              Pleas update your bookmark
      </body>
      </html>