Created simple game applet but wanting it to access a DSN on the server

Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Created simple game applet but wanting it to access a DSN on the server

Hello all

Good to be with guys who know how to code been searching for a while. Basically, I know probably as this applet is not signed thats probably the problem (not sure how to ) but for a college assignment I have created an applet, basically a recreation of the classic space invaders and at the end of it, it should record the name, email, score, and game to an ODBC based database. Ive got it to work via a localhost server, with a few adjustment to the permissions, but cannot get it to work on the server as regards writing to the database.

Within my project I run 2 java files as different threads, for automation purposes, and here is the code:

Re: Created simple game applet but wanting it to access a DSN on the server

I'm not fully sure what your question is, but you mentioned signing the applet. If you are receiving a SecurityException (which I assume you are) then you need to do so. The following link provides step by step instructions which worked for me first time through the first time I triedOTN Discussion Forums : How to sign an applet (and get it to ...

Re: Created simple game applet but wanting it to access a DSN on the server

Originally Posted by copeg

I'm not fully sure what your question is, but you mentioned signing the applet. If you are receiving a SecurityException (which I assume you are) then you need to do so. The following link provides step by step instructions which worked for me first time through the first time I triedOTN Discussion Forums : How to sign an applet (and get it to ...

It is being hosted on a website so I don't think that's applicable tested the odbc database and worked flawlessly with my locally hosted iis project just need some way of getting it to connect to the server odbc :/