Hi,
The jsp_precompile option is used to precompile a jsp before its use so that subsequent accesses to the jsp would not result in a time delay. But this is exactly what I want. I want that every time a JSP is requested for it should be re-translated and recomplied.
I will explain the scenario where I need it. It's a bit long and complicated but stay with me.
I have a main page. The name of the main page is mainframe.jsp. mainframe.jsp contains three frames in it. The three frames have source (src) specified as topframe.jsp, middleframe.jsp, and bottomframe.jsp. So whenever mainframe.jsp is called, it inturn calls topframe.jsp, middleframe.jsp, and bottomframe.jsp and loads them in the mainframe page.
In topframe.jsp, I have an text field. Whenever the user enters text into it, and submits the form, the form goes to a
servlet for some database entries and then comes back and loads mainframe.jsp. This time, there is some scriptlet in middleframe.jsp which retireves the values from the database and displays it.
Now the problem:
When middleframe.jsp is called, there is no change in the middleframe.jsp so the new values from the database are not displayed. It displays the previously displayed mainframe.jsp page again.
So, I need some method by which I can forcebile, translate and compile mainframe.jsp everytime it is accessed.
Regards,
Boney