Una domanda veloce.
Devo creare un sito in Java MVC 2, su Tomcat; e deve essere convalidato in X-HTML.
Dato che Java è molto suscittibile a conflitti di linguaggio, sono perplesso per quello che riguarda l'intestazione
codice:
<%@ page language="java"%>
<!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">
<%
response.setContentType("text/html; charset=iso-8859-1");
response.setHeader("Cache-Control", "no-store"); //HTTP 1.1
response.setHeader("Pragma", "no-cacher"); //HTTP 1.0
response.setDateHeader("Expires", 0); //prevent caching at the proxy
%>
cosa ne pensate? Mi creerà conflitti o va bene?
Grazie ciao