hi,

I'm perplxed by this section of the JSP 1.0 spec: 2.8.3 second paragraph:

"A JSP engine can include a mechanism for being notified if an included
file changes, so the engine can recompile the JSP page.  However, JSP 1.0
does not have a way of directing the JSP engine that included files have
changed."

..

Does this mean that if I have this:

main.jsp
--------

   <html>
   <body>

     <%@ include file="inc.jsp" %>

   </body>
   </html>


inc.jsp
-------

   <b>I'm inc.jsp</b>

..

I modify inc.jsp, and then reload main.jsp in my browser.  According to
the above, main.jsp is NOT required to be recompiled.  To force
recompilation, I must manually touch all files that contain the include.

Correct?

If correct, why is this ever desirable?  It seems to effectively render
includes unusable since the author cannot guarantee coherency across files
using the include.


thanks!

-- James

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to