That isn't very helpful. I already mentioned above that Netbeans has the driver.
/Applications/NetBeans/Net
Main Topics
Browse All TopicsIt looks like this has been asked a few times before, although I'm asking again because I don't think anyone has had quite the same configuration and I can't get it to work.
I have living-e AG with Apache 2.x, PHP5 and MySQL already installed and working. I am interested in adding Netbeans IDE 6.0 RC1 (already have) to my system and I'd like to get involved writing jsp pages with struts and with access to the MySQL database that I already have, unless you would recommend something else. Netbeans comes with GlassFish but I've disabled that. I do have a fair amount of experience writing jsp pages at work and I'd like to be able to play with a similar environment at home.
Given that I have MAMP already up and running and Netbeans already up and running I need some help with the following:
1. How do I configure NetBeans so that I can use the MySQL server already running. It looks like I have partial functionality in that I can access the MySQL server from netbeans using the built in services pane and connecting as jdbc:mysql://localhost:330
/Applications/NetBeans/Net
I need to know how to connect to the server from a jsp page and maybe from a .java file.
I did find this reference, but I'm either missing something or the instructions are not quite complete enough for me.
http://www.roseindia.net/s
I will need a little help with struts once I get going, mostly on how to know what libraries I can import and where to get them.
2. As a separate issue, I need to be educated about how the standard apache web server and a tomcat server can interoperate. I had read somewhere that you need to install the mod_jk module to your apache server installation and then configure the server so that you could fetch servlets from a tomcat server. I got the first part with the module ok. I found a reference here:
http://tomcat.apache.org/t
about configuring a 3.3 server. There is also current documentation here:
http://tomcat.apache.org/c
but I don't know how to configure this or even if I need to configure it.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: CSecurityPosted on 2007-11-19 at 00:43:22ID: 20311006
Put mySQL jdbc into your classpath then connect it with simple Java DB connection example which exists a lot in net