We want to include java applet in site that will be visited by mobile phone, and that applect will detect GPS position and send it to server. Is it possible?
Use the Geolocation API in Javascript. Pretty much all mobile browsers support it so you don't need to use a Java applet.