HTTP ERROR: 500
Unable to compile class for JSP
Generated servlet error:
[javac] C:\DOCUME~1\prasad\LOCALS~1\Temp\Jetty_0_0_0_0_8080_war____ut4fm1\jsp\org\apache\jsp\Guestbook_jsp.java:84: getQueryString() in javax.servlet.http.HttpServletRequest cannot be applied to (java.lang.String)
[javac] String cont=request.getQueryString("content");
[javac] 1 error
What is the mistake i am doin?
you should be learning modern JSP, where the JSTL (JSP Standard Tag Library) and the EL (Expression language) are used in lieu of scriptlets and scriptlet expressions.
Doing so has many benefits, not the least of which is avoiding errors such as this one (which is caused by using the getQueryString() method incorrectly).