ListenUp, JSP Guide

(C) 2003 Softsynth.com

Here is a series of incremental tests to see if ListenUp was installed correctly.

THESE TESTS MUST BE BROWSED FROM YOUR WEB SERVER, NOT FROM YOUR LOCAL HARD DRIVE!

1) Hello JSP

Make sure Tomcat is serving jsp pages properly from the new listenup_jsp webapp

2) Test Access to Commons FileUpload JAR

If you are using Commons FileUpload jar to handle multipart form requests, then verify that Tomcat's class loader can access it. If your browser shows a page with a message on it (as opposed to a ServletException for example), then Tomcat is serving your webapp properly, and has found the Commons FileUpload jar file.

If this fails, you need to put the Commons FileUpload jar file in "WEB-INF/lib".

3) Check Write Permissions

Verify that listenup_jsp has proper permissions to write to its directory, so it can handle file uploads. The directory is named "test".  If this fails you need to make "test" writeable.

4) Upload file using HTML FORM

Test if you can upload a file from an HTML form to a JSP page. This HTML form mimics the ListenUp applet. If this works, the ListenUp applet will probably work! 

You should examine <tomcatdir>/webapps/listenup_jsp/uploads on your server to verify that your file was uploaded ok.

5) Play a WAV File

Plays a WAV file to verify that the ListenUp Applet is installed and that audio output is working.

6) Record and Upload a WAV File

Installs the JavaSonics plugin, records a voice file, uploads it to the server using JSP, then plays it. The file will be compressed using ADPCM.

7) Record and Upload a Speex File

Similar to the previous test but uses Speex voice compression algorithm to reduce the file size.

More information on ListenUp can be found on the JavaSonics web site.

ListenUp JSP home