I am very new to
jsp and
java testing in general. I have written a jsp that will be used as part of a VoiceXML application. This jsp receives some parameters that are strings from a VoiceXML page along with a parameter that is an audio file. The jsp creates a directory structure based upon the values of the
string parameter, then it constructs a filename with a date stamp, then it saves the audio using an oreilly multipart bean.
It seems to work well, but now I am wondering how I could have tested it at the unit level? I will need to do this again and I would like to learn how to test jsp code correctly.
Here is the jsp in question:
Thank you for any advice you have about unit testing jsp code!