2 Replies Latest reply on Feb 7, 2010 3:09 PM by Roman Ivanov

    Unexpected HTML Response (RichFaces 4)

    Roman Ivanov Newbie

      There are 2 pages: welcome.xhtml, main.xtml.

      When you see the page in a browser, it displays html code:

       

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <body><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
      <title></title><link type="text/css" rel="stylesheet" href="/Wizaed/faces/javax.faces.resource/rich/css/page.css" /></head><body>
         <table border="0" cellpadding="0" cellspacing="0" class="rich-page ">
            <tbody>
          <tr>
           <td class="header_bg">
             <div class="header_content rich-page-header ">
         <h1>Welcome to RichFaces demo!</h1>
             </div>
           </td>
          </tr>
          <tr>
           <td width="100%" height="100%" class="bg_tabbody">
            <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" class="rich-page-content ">
              <tbody>
             <tr>
              <td class="menu_col rich-page-sidebar ">
               <div class="menu_width spacer" style="width:px"></div>
          Navigation content missed
              
              </td>
              <td class="content_col  rich-page-body ">
         Welcome To RichFaces 4.x Demo!!!
        
              </td>
             </tr>
             </tbody>
            </table>
           </td>
          </tr>
          <tr>
           <td class="footer_bg">
            <div class="footer_bg_content rich-page-footer ">
         footer
       
            </div>
           </td>
          </tr>
          </tbody>
         </table></body>
      </html>
      </body>
      </html>

       

      Why duplicated tags html, head, body and other.