voxforge.org
VoxForge Dev
Show
Ignore:
Timestamp:
11/29/07 10:08:20 (1 year ago)
Author:
kmaclean
Message:

SpeechSubmision? 1.1.1 snapshot

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/RecorderApplet.java

    r2363 r2364  
    2525    static RecorderApplet applet; 
    2626    private CapturePlayback theRecorder; 
    27     // !!!!!! 
    28     private CapturePlayback theRecorder2; 
    29     // !!!!!! 
    3027////// MOODLEY: 
    3128    String subject; 
    3229    String fileFieldName; 
    33 // !!!!!!  
    34     String prompt1; 
    35     String prompt2; 
    36     String prompt3; 
    37     String prompt4; 
    38     String prompt5; 
    39     String promptID1; 
    40     String promptID2; 
    41     String promptID3; 
    42     String promptID4; 
    43     String promptID5;  
    44     String prompt6; 
    45     String prompt7; 
    46     String prompt8; 
    47     String prompt9; 
    48     String prompt10;   
    49     String promptID6; 
    50     String promptID7; 
    51     String promptID8; 
    52     String promptID9; 
    53     String promptID10;       
    54 // !!!!!!     
    5530    URL endPageURL; 
    56  
    57 // !!!!!!     
    5831    URL helpPageURL; 
    59  
    60 // !!!!!!     
    6132    URL destinationURL; 
    6233    String language; 
     
    6738    public void init() { 
    6839        applet = this; 
    69         String param = null; 
    70  
    7140        // At this point grab all our parameters 
    7241        getParameters(); 
     
    10271                System.err.println("RecorderApplet Cookie: " + cookie +":\n");             
    10372        } catch (NullPointerException nullLang){ 
    104             // Default language being set 
    105  
    10673            errorMessage(System.out,"cookie is null"); 
    10774        } 
     
    11279            if (language == "" || language == null) 
    11380                language = "EN"; 
    114             System.err.println("RecorderAppletlanguage is:" + language); 
     81           // debug System.err.println("RecorderAppletlanguage is:" + language); 
    11582        } catch (NullPointerException nullLang){ 
    11683            // Default language being set 
     
    12390            // !!!!!!            
    12491                destinationURL = new URL(getParameter("destination")); 
    125             // Following line is for testing, and to hard code the applet to postlet.com 
    126  
    127         //    destinationURL = new URL("http://localhost:90/httpd/postlet/javaUpload.php"); 
    128             // !!!!!! 
     92                // Following line is for testing, and to hard code the applet to postlet.com 
     93                //    destinationURL = new URL("http://localhost:90/httpd/postlet/javaUpload.php"); 
     94                // !!!!!! 
    12995        } catch(java.net.MalformedURLException malurlex){ 
    13096            // Do something here for badly formed destination, which is ESENTIAL.