•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 397,816 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,594 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 868 | Replies: 1
![]() |
•
•
Join Date: Aug 2006
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
I hope that I'm posting this correctly. I have populated a vector of my resultSet from a query. I tested it on an application side code and am now trying to access a method from my web side jsp.
Here is my error page:
org.apache.jasper.JasperException: Exception in JSP: /searchResults.jsp:32 29: String colChoice = request.getParameter("colChoice"); 30: String tableChoice = request.getParameter("tableChoice"); 31: 32: resultQuery.createSearchQuery(tableChoice, colChoice, searchWord);
Here is my embedded code:
can anyone help me figure why i can't access my method?
Here is my error page:
org.apache.jasper.JasperException: Exception in JSP: /searchResults.jsp:32 29: String colChoice = request.getParameter("colChoice"); 30: String tableChoice = request.getParameter("tableChoice"); 31: 32: resultQuery.createSearchQuery(tableChoice, colChoice, searchWord);
Here is my embedded code:
<%
ConnectDB resultQuery = new ConnectDB();
Vector tableResults = new Vector();
Vector row = new Vector();
String searchWord = request.getParameter("searchWord");
String colChoice = request.getParameter("colChoice");
String tableChoice = request.getParameter("tableChoice");
resultQuery.createSearchQuery(tableChoice, colChoice, searchWord);
//tableResults = resultQuery.storeResultSet();
%>
<table border=2>
<%
String strData;
for (int i=0; i<tableResults.size(); i++)
{
row = (Vector)tableResults.get (i);
for (int j=0; j<row.size(); j++)
{
strData = (String)row.get (j);
%><p><%out.print(strData);%></p>
<%}
}
%>can anyone help me figure why i can't access my method?
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
Similar Threads
- Private Access (C++)
- error due to accessing database connection using jsp (JSP)
- JSP Error (JSP)
- tomcat5.0 server encountering a internal error while using jsp (JSP)
- Help with class methods (Java)
- String class methods... (Java)
Other Threads in the JSP Forum
- Previous Thread: calling xml data
- Next Thread: ResultSet rs = stmt.executeQuery()



Linear Mode