I created my first bean and then created a seperate
JSP connecting to a database to make sure I have all my connections working.
Now I want to fetch a database value using a bean in JSP that will work with a class file with my database connection.
JSP:
Java class file:
Please advise how I can do this correctly because I got this error message and need
alot of help to get my first bean with database working -
INF\classes\colors>javac TestBeany.java
TestBeany.java:46: <identifier> expected
results.close();
^
TestBeany.java:47: <identifier> expected
conn.close();
^
2 errors