I am writing an application that should query an sql server every time the application is run with parameter specified by the user. the .load() method calls for another .jsp page to be opened in a div on the main page. I believe i am calling the function correctly but it keeps giving me a null exception for the other .jsp page. The code is below and the second jsp page is stored locally with the main page.
d_results is the name of the div the div should be opened in and date1 and ReportType are parameter sent to the jsp page for the sql server query
Code:
jQuery("#d_results").load("Lookup_Results.jsp?date1="+date1+"&ReportType=45");
Comment