To all,
Does anyone know if an included jsp file is compiled before the jsp page
it was called from is compiled fully? I am looking to duplicate the
functionality that we currently have with a product called XTags which
allows us to use an <INCLUDE> tag which stops compilation on the current
file, compiles the file in the <INCLUDE> tag and then returns to the
calling file.
I am looking to duplicate this functionality using JWS and JSP. Any
pointers or examples would be great. I was trying to do an SSI as
follows but I never see the output from page2.jsp....
<html>
<head>
<title>My First Page</title>
</head>
<body>
<java>
out.println("What the heck is happening in here?");
</java>
<!--# include file="page2.jsp" -->
</body>
</html>
Page 2 is as follows:
<h1>My Second Page</h1>
<ul>
<java>
for (int i = 0; i < 5; i++) out.println("<li>" + i);
</java>
</ul>
Any pointers of comments would be welcome.
Thanks.
--sean
===========================================================================
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".