Hi All,
This might look simple 4 u.
How does
JSP engine understand need to translate JSP into
Servlet and recompile?
The answer is obvious, JSP engine looks at timestamp of jsp and translated servlet class file. If jsp file is most recently modified, it is translated again.
That's fine. But let's take an example where index.jsp inlcludes header.jsp. The index.jsp is translated into servlet and servlet is compiled. But then I modify header.jsp without modifying index.jsp. Still JSP engine understands there is need to recompile servlet.
Can any one clarify whether code for included jsp is also put in translated servlet or only included JSP page's servlet's response is included in the including servlet?
In simple words, whether servlet of index.jsp will include code for header.jsp also? Or it will simply have code to include response from servlet created for header.jsp?
Pls clarify.
Thanks in advance.
Sandesh
Regards,<br />Sandesh<br />(SCJCP, SCWCD, SCBCD - 99%, OCP-1)<br /> <br />Either find a way or create one.