wood burning stoves
The moose likes JSP and the fly likes String[] error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

String[] error

kishani liyanage
Ranch Hand

Joined: Dec 08, 2003
Posts: 40
Please give me a solution to this error!
Generated servlet error:
C:\jakarta-tomcat-3.2.4\work\Standalone\localhost\examples\testkish\showDetails$jsp.java:68: Incompatible type for declaration. Can't convert java.lang.String to java.lang.String[].
String[] selectedItems = request.getParameter("ItemID");
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63534

This is a continuation of the question that you asked earlier. Please re-read the answers to that question (your answer is already there), and continue any discussion there.

[Asking smart questions] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: String[] error
It's not a secret anymore!