Connect JavaEE Application to MySQL Database on GoDaddy Shared Linux Hosting Server

I was trying to find some example to connect MySQL database with my Java Shared Hosting Plan on but I could not. Well, I don’t want to say that GoDaddy has the best plan for hosting Java application. I still can not figure out how to use JSTL, custom url-pattens in the web.xml and forward requests from a servlet to JSP page. Also, we have to put http://<domain_name>/servlet/<servlet_name> to access servlet. But, here is simple working example to show you database connection from hosting to MySQL server on GoDaddy Shared Hosting.

Take a look at the example at link : GoDaddyJavaMySQL


3 thoughts on “Connect JavaEE Application to MySQL Database on GoDaddy Shared Linux Hosting Server

  1. Hello superb blog! Does running a blog similar to this take a great deal of work?

    I have no expertise in coding but I had been hoping to start my own blog in the near future.
    Anyway, if you have any suggestions or tips for new blog owners please share.
    I know this is off subject however I just wanted to ask.

  2. Hello SEO Singapore, Thanks for comment.

    When I started my blog it was very much hobby. My friends suggested me to start with WordPress as it is very simple to install and maintain.

    I would suggest the same. You should go with wordpress and start blogging.

  3. Hi there, I log on to your blogs like every week. Your writing
    style is witty, keep up the good work!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.