I'm trying to use window.showModalDialog to open a jsp that uses struts but I'm having problems getting the url right. See code snippet below. This code opens a window, but not to the correct url and when I close the dialog box the alert reads returnValueDialog: undefined. Any help would be greatly appreciated.
sURL = "Request.do?parameter=someParameter";
var returnValueDialog = window.showModalDialog(sURL, "", "dialogWidth:9cm; dialogHeight:6cm; status:yes")