wood burning stoves*
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 Spring in Action this week in the Spring 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: 61434
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error ! pls help