Do you have this at the top of your code for your JSP page?
<jsp:useBean id="DBBeanId" scope="page"
class="project.DBBean" />
Is your bean part of a package?
Try making these changes
SELECT count(messageNr) as Count FROM messages
int Countresultaat = resultaat.getInt("Count");
String result = Countresultaat.toString();
input type="hidden" name="Begin" value = "<%= result %>">
Menno
You need to change the variable in hidden name value to Countresultaat instead of CountResultaat because that is how you have it defined as:
String Countresultaat = resultaat.getString("count(messageNr)");
I am an MIS major going into my senior year of school. I have 3 internships under my belt and have had some great experience in system design and programming. I want to get a job at one of the big IT consulting firms such as Accenture,Booz Allen, AMS, BearingPoint, Braxton, or Cap Gemini to...
I figured the answer out. For anyone who wants to know, you just add the line:
wb.write(response.getOutputStream());
Insert it between wb.write(fileout); and fileout.close();
I have one program that makes excel reports from an Access database using POI. This program saves the reports to a Tomcat server on my system. I have a JSP called DisplayReports which uses a JavaBean to find the files on the server and post links for each file to another JSP called...
I am running Tomcat 4.0.6 and J2SE 1.4.1.03. When try to run my servlets from the name I have mapped to it from the descriptor it will not run. It will only run when I put the full name of the class into the URL. What is causing this problem??
My file directory is - C:\Program...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.