Database Connection

Hello All,

I am very new to Java. I have downloaded the NetBeans 5.5.1 and the Web Pack and have this setup with the Sun Java App server. I am running this on Windows XP and trying to connect to a MaxDB on a different server, with no luck.

In the Run time tab I have setup the driver and made a db connection. I can see the tables and views on the server and can view the data when I execute a command.

I have put a table on the web form and dropped the view onto the table and the column names change to match the view. When I run main project, I don't get any data back to the web page.

Any help would be great!

[647 byte] By [triplebda] at [2007-11-27 8:54:41]
# 1

That's not enough info for us to figure out what's wrong.

Anything in server log files?

Are you ignoring exceptions? I.e.: catch (Exception e) { /* don't tell anyone what happened */ }. Never do that.

Put in debugging println()s.

Look at the produced HTML ("view source" in your browser).

sjasjaa at 2007-7-12 21:14:23 > top of Java-index,Java Essentials,New To Java...