File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: String[] error