<%@ page contentType="text/html"%>

You should see this on /dir2/ URL.

<% response.addHeader("X-Unit-JSP", "ok"); %>