arqHP:: XHTML ou HTML

'Controlling HTTP Response Header Lines' tutorial was cited in a news group message in Portuguese language in 2006.

The Controlling HTTP Response Header Lines tutorial was cited in a news group message in Portuguese language in 2006.

Subject: arqHP:: XHTML ou HTML
Date: Feb 17, 2006
Author: Davis Zanetti
Source: http://groups.google.com/group/arqhp/browse_thread/thread
   /ce52342eeccbf73b/bcea284b3ae34a4e

>Tenho lido bastante a respeito do uso de XHTML ou HTML, as diferenças
>e os erros mais comuns.

>Particularmente me sinto mais confortável escrevendo código em XHTML,
>gosto da estrutura do XML dentro do HTML. O grande problema com o
>XHTML é que, se ele estiver declarado como "text/html" e não como
>"application/xhtml+xml", ele acaba sendo interpretado como HTML pelo
>User Agent (tem tradução para esse termo?). Isso não seria problema
>se o XHTML fosse lido como HTML válido, mas não é! O código acaba se
>transformando no que os gringos chamam de "sopa de tags", ou seja,
>perde a semântica do texto.
...

> e em jsp? como seria?

Sei que pode se usar assim:
<jsp:directive.page contentType="application/xhtml+xml"/>
<jsp:directive.page contentType="text/html"/>

Mas como fazer condicional dá uma olhada aqui ó:
https://www.herongyang.com/jsp/response_header.html

Acho que pode ajudar.

Table of Contents

 About This Book

 Reference Citations in 2023

 Reference Citations in 2022

 Reference Citations in 2021

 Reference Citations in 2020

 Reference Citations in 2019

 Reference Citations in 2018

 Reference Citations in 2017

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

Reference Citations in 2006

 help with SOAP

 while.....do

 handling unicode characters in jsp

 A Tutorial for New Axis2 Users

 Dovecot SSL Warning (Not Error)

 Conexiones permanentes

 ADAMSync

 Character set problem

 Rpc::xml, examples and docs "for Dummies"

 UTF-8 Support

 Conversion of Single and Double in Binary

arqHP:: XHTML ou HTML

 Looking for JS Code for Chinese Calendar

 Reference Citations in 2005

 Reference Citations in 2004

 Reference Citations in 2003