This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 63202
    
  69

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Error ! pls help
 
It's not a secret anymore!