Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

reloading <@ include %>

Thread view: 
gwoodhouse@gmail.com - 28 Sep 2007 11:36 GMT
Hi all,

Im have trouble now with putting several include's on my page, hoping
to use <c:set>'s before each include in order to write different
values. Unfortunatly i seem to have a caching problem and each include
is printing the same value as my first include.

Ive tried <jsp:inclue page="" flush="true"> and that doesnt help.

Anyone had any experience with this before?

Graeme Woodhouse
Lew - 28 Sep 2007 12:48 GMT
> Hi all,
>
[quoted text clipped - 4 lines]
>
> Ive tried <jsp:inclue page="" flush="true"> and that doesnt help.

I am not so sure c:set applies across includes.

<%@include ... %> is for static resources.

Signature

Lew

gwoodhouse@gmail.com - 28 Sep 2007 14:22 GMT
Thanks for the reply Lew,

My problem was that i was accessing each of the <div>'s in my include
with the same ID :P.

Fixed it by adding a <c:set> for id which incremented each time
through the loop to give different ID's to each include.

Thanks again,

Graeme


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.