As mentioned in the earlier post
do not use the obselete JWSDK. Instead use
Tomcat. And with regards to what classes are required to compile the jsp, Tomcat which has the jsp engine does this job for you. You just need to place the .jsp file in the *required* directory.
HTH