P
Per Magnus L?vold
Hi!
I'm working on a JSP application. Using JDBC I query for a certain
background program to finish populating a table.
This takes a while, so I am trying to do a refresh page that updates
with the latest results.
For refreshing the page, I use:
***
<head>
<META HTTP-EQUIV="REFRESH" CONTENT=30>
<title>my page</title></head>
***
This does the trick of refreshing the web page every 30 seconds. BUT
the problem is that all the parameters I have passed to the page
dissappear on the refresh..! So my code stops working. :-(
How can I set the parameters so that they still can be retreived after
a refresh?
The webserver supports servlet 2.0, and I have tried setting the
parameters with:
***
session.putValue("MyParam","MyValue");
***
When I after refresh try:
***
String myParam = (String)session.getValue("MyParam");
***
....myParam is empty.
Hope someone can help me here!
Regards, Per Magnus
I'm working on a JSP application. Using JDBC I query for a certain
background program to finish populating a table.
This takes a while, so I am trying to do a refresh page that updates
with the latest results.
For refreshing the page, I use:
***
<head>
<META HTTP-EQUIV="REFRESH" CONTENT=30>
<title>my page</title></head>
***
This does the trick of refreshing the web page every 30 seconds. BUT
the problem is that all the parameters I have passed to the page
dissappear on the refresh..! So my code stops working. :-(
How can I set the parameters so that they still can be retreived after
a refresh?
The webserver supports servlet 2.0, and I have tried setting the
parameters with:
***
session.putValue("MyParam","MyValue");
***
When I after refresh try:
***
String myParam = (String)session.getValue("MyParam");
***
....myParam is empty.
Hope someone can help me here!
Regards, Per Magnus