OK well I think this has to do with the web cache policy for my page. My JSP is currently included within an STK Article template (stkArticle). Is there some way to turn off caching for this template in the published website? Or is there something else I need to do?
Thanks, - paul r. On 2012-11-07, at 3:33 PM, Paul Rasmussen (via Magnolia Forums) wrote: > Hi, > > I have a page that contains some JSP. The page does an initial creation of an > Object and then uses data from that Object in the page. But when I start up > my website from the "Visit the published website" link and then go to this > page, it seems as if the initial object creation is never executed. If I go > to the Admin Central first and open my website from there, the JSP works > fine. Although it also seems that if I retry the page after waiting for some > time (maybe an hour) I have this same problem even when I started the website > from Admin Central. I put in a log statement at the start of the constructor > of my object which appears when it works and doesn't when it doesn't so I > feel pretty sure the object is never created in the problem case. Does > anybody have any idea what could be going on here? There is no error logged > in either case. > > Thanks, > > - paul r. > > -- > Context is everything: > http://forum.magnolia-cms.com/forum/thread.html?threadId=6dcb6006-8add-4be8-a48e-0f8d39824544 > > > ---------------------------------------------------------------- > For list details, see http://www.magnolia-cms.com/community/mailing-lists.html > Alternatively, use our forums: http://forum.magnolia-cms.com/ > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
