problem in autocomplete in jsp translated from php version Programming Web Development by ronnieaka …JSP file, i get some errors [B]here is the ajaxexample.html code: [/B] [ICODE] <html>…jasper.JasperException: An exception occurred processing JSP page /ajaxexample/exp/gethint.jsp at line 27 24: hint="…) root cause java.lang.NullPointerException org.apache.jsp.ajaxexample.exp.gethint_jsp._jspService(gethint_jsp.java:81) org.apache.… Re: insert data into the mysql database using ajax Programming Web Development by vishvendranagar …> </html> now save this file as "ajaxexample.html" now run this file in browser. Re: problem in autocomplete in jsp translated from php version Programming Web Development by ronnieaka ok people i got it working, if i comment lines 20, 21 and 40 and if i change line 25 with this: [CODE] if (q.toLowerCase().equals( a[i].substring(0,1).toLowerCase() ) ) [/CODE] basically, everywhere i call length to get a string's length, it was giving some exception. with that removed, i'm getting suggestions up to only the first letter …