sorry but i could not get this. seems like i misscommunicated my problem. what i meant was, when the target file is not found with [EMAIL PROTECTED], you get a compilation error. but when the target page is not found with jsp:include, of course you dont get a compilation error, but also you dont get a runtime error. what you get is, the include statement is simply ignored.
for comparison, oracle appsvr generates a runtime error for the similar situation. guven. -----Original Message----- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 09:47 To: [EMAIL PROTECTED] Subject: Re: jsp:include :: no error when target page is missing Since the spec forbids a jsp:include from changing the status or the headers, I don't really see an option around this. "Guven Demir" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] hi all, i've noticed that jsp:include tag does not generate an error when the target page is not found. it simply does not include anything. is there a way to change this behavior? i looked it up in the jasper configuration docs to find a way to affect how it generates the offending code to no avail. am i missing something? by the way, do you know of or a pointer to any similar error prone behaviors of tomcat? thanks in advance, guven demir. Guven Demir Software Engineer Telenity A.S. Tel. +90.212.468.2057 Fax. +90.212.465.0910 [EMAIL PROTECTED] www.telenity.com IMPORTANT: The information contained in this e-mail and any attachment(s) may be privileged and confidential information intended only for the use of the entity named above. If the reader is not the intended recipient or the agent responsible to deliver it to the intended recipient, the reader is hereby notified that any disclosure, dissemination, distribution, copying or electronic or other storage of this communication is strictly prohibited. If you have received this communication in error, please immediately call us to collect. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
