Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Valiable file name in JSP include

843835Jun 23 2003 — edited Jun 23 2003
Hi,
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 21 2003
Added on Jun 23 2003
3 comments
121 views