DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16319>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16319 RequestDispatcher.include in a customTag causes IllegalStateException [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Additional Comments From [EMAIL PROTECTED] 2003-02-11 08:50 ------- Regardless of the fact what the included page can do and what it can't according to the spec - IMO it should behave exactly the same way while being included using <jsp:include> and RequestDispatcher.include. I mean the included page does exactly the same regardless of the way it got included! If it is allowed to do what it does after <jsp:include> then it complies to the rules, doesn't it? If its working doesn't change after RequestDispatcher.include then it should also be allowed to do what it does? I am not in a position to influence your decision except using logical arguments, exactly as I am now trying to do. I see no reason to treat the included page differently depending on the way it got included. Now from the same place in the JSP v1.2 spec: "An included page only has access to the JspWriter object and it cannot set headers. This precludes invoking methods like setCookie(). Attempts to invoke these methods will be ignored. The constraint is equivalent to the one imposed on the include() method of the RequestDispatcher class." First it only says it cannot access headers and nothing about outputstream, then it says that attempts to access would be ignored, and not that an exception were thrown, and lastly it says that those constaints are "equivalent to the one imposed on the include() method of the RequestDispatcher class". That to be exact. Now why do you think <jsp:include> and RequestDispatcher.include should work differently? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]