| | |
SubString error..
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2007
Posts: 62
Reputation:
Solved Threads: 0
Hey Fellas...Im getting this error on a "select box"...im trying to parse some info:
PWC6197: An error occurred at line: 88 in the jsp file: /jsp/cpanel/HomeSellerList.jsp
PWC6199: Generated servlet error:
string:///HomeSellerList_jsp.java:147: cannot find symbol
symbol : method indexOf(java.lang.String)
location: class java.lang.Object
PWC6197: An error occurred at line: 88 in the jsp file: /jsp/cpanel/HomeSellerList.jsp
PWC6199: Generated servlet error:
string:///HomeSellerList_jsp.java:147: cannot find symbol
symbol : method indexOf(java.lang.String)
location: class java.lang.Object
PWC6197: An error occurred at line: 88 in the jsp file: /jsp/cpanel/HomeSellerList.jsp
PWC6199: Generated servlet error:
string:///HomeSellerList_jsp.java:147: cannot find symbol
symbol : method subString(java.lang.String,java.lang.String)
location: class java.lang.Object
============================
jsp:
can somebody tell me where Im going wrong?
thanx
PWC6197: An error occurred at line: 88 in the jsp file: /jsp/cpanel/HomeSellerList.jsp
PWC6199: Generated servlet error:
string:///HomeSellerList_jsp.java:147: cannot find symbol
symbol : method indexOf(java.lang.String)
location: class java.lang.Object
PWC6197: An error occurred at line: 88 in the jsp file: /jsp/cpanel/HomeSellerList.jsp
PWC6199: Generated servlet error:
string:///HomeSellerList_jsp.java:147: cannot find symbol
symbol : method indexOf(java.lang.String)
location: class java.lang.Object
PWC6197: An error occurred at line: 88 in the jsp file: /jsp/cpanel/HomeSellerList.jsp
PWC6199: Generated servlet error:
string:///HomeSellerList_jsp.java:147: cannot find symbol
symbol : method subString(java.lang.String,java.lang.String)
location: class java.lang.Object
============================
jsp:
JSP Syntax (Toggle Plain Text)
<INPUT TYPE="hidden" NAME="username"VALUE="<=username>"/> <INPUT TYPE="hidden" NAME="password" VALUE="<%=password%>"/> <div> <fieldset class="column box4fade"> <h4>Home Seller's Report</h4> <p class="marginTopBump4">Please select a listing to generate a homeseller's report for and click "Proceed." </p> <div class="marginTopBump4 width13"> <select name="business_state" class="fullBox3"> <% for (int i=0;i<homeList.size();i++) { %> <option value="<%=(String)homeList.elementAt(i).subString((String)homeList.elementAt(i).indexOf("("),(String)homeList.elementAt(i).indexOf(")")+1)%>"><%=(String)homeList.elementAt(i)%></option> <% } %> </select>
can somebody tell me where Im going wrong?
thanx
Last edited by mimsc; Jul 8th, 2009 at 5:18 pm. Reason: code
![]() |
Similar Threads
- How do i write a word backwards? (Java)
- Remove the first character of a string in a datagrid (VB.NET)
- Parsing a text file (Java)
- Substring Error ??????? (C++)
- casting error (Java)
Other Threads in the JSP Forum
- Previous Thread: Please how do i start using jsp to build web pages on netbeans
- Next Thread: Multiple sessions on same browser
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web






