Valiable file name in JSP include
843835Jun 23 2003 — edited Jun 23 2003Hi,
I am trying to include a html file in a JSP page. The filename comes from the properties file and hence is a variable. The JSP file that has this include does not cache the JSP page plus it "refreshes" (reloads) ever 30 seconds.
When I include the HTML file using jsp:include I am not getting the HTML file on alternate browser refreshes. Wierd?
I then hard coded the filename and included the html file using <% @ include... and it works just fine.
But I cannot have a variable name in <%@ include.
Please comment on this wierd behaviour of jsp:include and gimme a solution.
Thank you all in advance,
Ravi Mittal