A
Antonie C Malan Snr
Dear All,
The top frame contains a form with many select elements. They are used
to do database searches. As the selects are based on data in the
database which is loaded onLoad (the top page is a JSP) I do not want to
load the page in the top frame again after the initial load.
The page in the bottom frame is also a JSP and reads a the search
results from a bean when it loads.
So, what I want to do is send the form contents from the top page to the
servlet, the servlet then gets it via a few other classes from the
database and it is loaded into the bean. The bottom frame then needs to
refresh and it will get the search data from the bean.
I've tried parent.mainFrame.location.reload() and various other things
like parent.mainFrame.open("results.jsp", "mainFrame", "") etc. No luck.
Any idea what the best way is? I am better with Java and databases than
with JavaScript.
Thanks,
Chris
The top frame contains a form with many select elements. They are used
to do database searches. As the selects are based on data in the
database which is loaded onLoad (the top page is a JSP) I do not want to
load the page in the top frame again after the initial load.
The page in the bottom frame is also a JSP and reads a the search
results from a bean when it loads.
So, what I want to do is send the form contents from the top page to the
servlet, the servlet then gets it via a few other classes from the
database and it is loaded into the bean. The bottom frame then needs to
refresh and it will get the search data from the bean.
I've tried parent.mainFrame.location.reload() and various other things
like parent.mainFrame.open("results.jsp", "mainFrame", "") etc. No luck.
Any idea what the best way is? I am better with Java and databases than
with JavaScript.
Thanks,
Chris