wood burning stoves 2.0*
The moose likes JSP and the fly likes Error ! pls help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Error ! pls help" Watch "Error ! pls help" New topic
Author

Error ! pls help

kishani liyanage
Ranch Hand

Joined: Dec 08, 2003
Posts: 40
please tell me why do get this error when i tried to compile a jsp which displays values : Please advice me what i should do to overcome the situation.
Generated servlet error:
C:\jakarta-tomcat-3.2.4\work\Standalone\localhost\examples\testkish\showDetails$jsp.java:68: Method getparameter(java.lang.String) not found in interface javax.servlet.http.HttpServletRequest.
String[] selectedItems = request.getparameter("ItemID");
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
String[] selectedItems = request.getparameterValues("ItemID");
instead of request.getparameter
Originally posted by kishani liyanage:
please tell me why do get this error when i tried to compile a jsp
which displays values : Please advice me what i should do to overcome the situation.
Generated servlet error:
C:\jakarta-tomcat-3.2.4\work\Standalone\localhost\examples\testkish\showDetails$jsp.java:68: Method getparameter(java.lang.String) not found in interface javax.servlet.http.HttpServletRequest.
String[] selectedItems = request.getparameter("ItemID");
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

Actually, the methods are getParameter and getParameterValues. This is Java: case counts!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: Error ! pls help
 
Similar Threads
parse string to time
java.net.SocketException: No buffer space available (maximum connections reached?): connect
The max input fields for servlet can handle
sun.tools.java.CompilerError: duplicate addition
creating virtual tables