Did u try to load your class file and your jar file in a regular HTML file first. Try that to see fi it works and let us know. im not sure about applets but don't u need "" around your variables
<applet code="HelloWorldApp.class" name="HelloWorldApp" archive="HelloWorldApp.jar" width="300 " height="300">
^^^^^^Like this
What kind of information would you need to pull from 50 different HTML files? dare i ask why there are 50 HTML files on your site? Maybe the use of a database with a for loop or a while loop my remedy this?
1. Make sure there is nothing before the session_start() in the code.
<?php session_start(); rest of code
2. I would change from "echo header("Location:"); to a meta refresh because meta refresh gives you options of using variables if you need em. I used to get that problem when i tried to Post a login to the same page with the True result as a header location