first please read this->applet not initialized

I read forums topic which is relational with applet errors but I couldnt solve my problem.

I developed a program with php and mysql.there isnt any printing library for php under linux.so I am using an applet for printing.I could use javascript but I dont want to show printer dialog so I chose java applet.in my htdocs directory I put class file and all other php files are there too.when I want to run this php file which has inside applet tag it shows me "applet not initialized".so can you help me for this?that applet works on my pc but in server it didnt work.what is wrong with server or apache?I set up j2sdk to server too but I couldnt solve this problem something wrong with apache maybe it cant find the class file or do I have to recognize java files to apache like php?

it is really important for me.if you can help I ll be glad.thanks for all

[874 byte] By [ecnzla] at [2007-10-2 11:45:27]
# 1
Your system architecture is not completely clear.php amd SQl usually live on a server, applets get exectued in a browser or an appletviewer. Where do you want to print? On the client or on the server?
BIJ001a at 2007-7-13 5:50:46 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

I developed a program with php and mysql.in php file I am using applet tag to print out some informations.when I connected from client to the server.in that page I cant run applet.in client browser I have java plugin too.if I tried applets and also this print applet in my laptop it is working but if I put them into the server and if I connect from client applet isnt working problem is this.please someone help me

ecnzla at 2007-7-13 5:50:46 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...