posted 17 years ago
Hey Guys,
I've been working on this IFRAME for a couple of days now, and I'm to the point where things are almost working. I can get the page that the IFRAME uses as its source to get the right request parameter from my dropdown box, so I should be able to view my SQL table alright.
The problem is, I don't want anything displayed in the IFRAME before the user selects something on the page that the IFRAME is on.
My structure is:
SurveyEdit.jsp has a dropdown which targets an IFRAME using DynamicSurvey.jsp.
What I'd like is for the IFRAME to show nothing before the user selects something from the dropdown. I've tried sticking an if/else statement in the DynamicSurvey.jsp, but I just get null pointers when I use:
since the request parameter "survey" hasn't been created yet when the DynamicSurvey.jsp page is first called.
Any ideas?
Thanks,
Sam