Dear All,


I am designing an application, which connects to a database and then
populates an object of application scope. It then performs various
algorithms on this object. However, if I modify the database, I want to
reinitialize the object. However, for unknown reasons some aspects of
the page keep the old data stored in this object. Even If I have a page
which specifically lists the contents of the new object, a page which
accesses it still uses old settings. How can I make sure that this is
not cached anywhere and killed properly?



The syntax I use is as follows:



<jsp:useBean id="Graph" class="NewGraph" scope="application" />

<%

            Graph = new NewGraph();

            Graph.initialize();

%>





Also another question, in a part of my site I am using a <script
language="JavaScript" src="js/js.jsp"></script> where the JavaScript
file is dynamically generated, this seems to be some of the cause of the
problems as it is not getting reset but cached. Any way for me stop this
happening?



Regards,

Pete Dolukhanov

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to