I have a JSP page which has the following tags prior to the <html>
tag:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Which of these need to be carried over into a JSP/HTML fragment that will be pulled into the page via AJAX call. (Specifically, a Dojo xhrGet... but I'm not sure that's relevant.) If more environmental information is required to answer this, please let me know and I will gladly expand this question.
Okay. This is what we went with. It works fine:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>