Hi all
I am facing a unique session problem.
I am developing an application which takes date and time on index.html.
Based on this onfo it draws a graph in Graph.jsp using JFreeChart. I am using bean and
servlet to accomplish all this.
Code sniplet is as below...
JSP->It instantiates a bean. The bean creats graph and also returns the servlet path info for graph.
String tempHamiGraph will contain servlet path with servername:portno to display graph.
BEAN-> The bean creates the graph object and put it in session.
It also returns the pathinfo of servlet
SERVLET->
It gets graph from session and passses it to
jsp as response
Now my problem is that whenever I give some date and time in index.html it shows me corresponding graph but whenenver I go back using browsers back button and put new values in index.html it shows me same old graph. If I refresh JSP then it shows graph for new values.
Can anybody tell me where I am going wrong?