Hello,
I'm writing a jsp page that read one file and output it. The code look like this:
<%
BufferedReader input = new BufferedReader(new FileReader("tech.csv"));
String line = "";
while ((line = input.readLine()) != null) {
out.println(line);
}
input.close();
%>
and the error it keeps coming up is:
An error occurred at line: 9 in the jsp file: /FirstServlet.jsp
BufferedReader cannot be resolved to a type
What's the problem here? (I put the tech.csv file in the same directory as the jsp file)
Btw, I'm using tomcat 6.0.13.
thanks for the help,
ekb