Re: problem calling request.getParameter("myparameter") in jsp

2006-01-11 Thread Jon Wingfield
Your underlying problem is the exclamation mark at the start of your scriptlet. This makes the jsp ompiler put free standing code into the init method or creates methods on the servlet that you can call within your jsp. Without the exclamation mark the compiler inlines the scriptlet into the _j

Re: problem calling request.getParameter("myparameter") in jsp

2006-01-10 Thread marju jalloh
I got it. HttpRequest throws an exception by enclosing String query = request.getParameter("display") in a try and catch block everything was fine marju jalloh <[EMAIL PROTECTED]> wrote: I see <%! String query = request.getParameter("display") ; %> is declared in the init() of the servlet.

Re: problem calling request.getParameter("myparameter") in jsp

2006-01-10 Thread marju jalloh
I see <%! String query = request.getParameter("display") ; %> is declared in the init() of the servlet.I changed it but now I`m getting org.apache.jasper.JasperException java.lang.NullPointerException which should not execute the query Can anyone throw licht on this Thanks marju jalloh