how to return a value from the child dialog
posted 11 years ago
I have a main JSP page, that calls a JSP page in a dialog box on the click of a button, and within this jsp page, i select a file from the client machine and uploads it to the server. So far all is working in order. Now what I am after is that, when the dialog box closes after uploading the file to the server, it should return the name of the file it has uploaded back to the main JSP page which called it. How should i go about this problem? Should I use session object or something?