The JSP-spec forbids <jsp:include> pages from changing headers, so Tomcat is
working as expected :-).  Probably the simplest way to do what you want is
to change the <jsp:include> directives to <[EMAIL PROTECTED]> directives.

"jakarta-pipon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> i'd like to add some http headers, common  for all pages, so i put them
> inside a headers.jsp, included with <jsp:include page...>.
> but by this way it does not put any http header.
> the java generated file for the jsp put
>
>             // HTML // begin [file="/areas.jsp";from=(0,58);to=(1,0)]
>                 out.write("\r\n");
>
>             // end
>             // HTML // begin [file="/areas.jsp";from=(1,31);to=(2,0)]
>                 out.write("\r\n");
> and after those \r\n (finnishing the http headers) begins the code for
> header.jsp
> so how can i append http headers for the common behavior in all jsps?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to