Exposing JARpackaged classes to jsp files in Oracle 10g
In my previous post I conveyed how to enable a folder in your Oracle application server to serve JSP's. In this post, I assume that you've already enabled your directory and have tested a jsp file successfully.
Normally you'd want to reference external functionality in your JSP files, like external classes packaged in JAR files.
Luckily, this is very easy. In your Jserv conf directory (Jserv is to allow apache to load Java files like jsp and java servlets), which will normally be in the <Oracle_Home>\Apache\Jserv\conf, you'll find a jserv.properties file.
Open this properties file and include a wrapper.classpath statement in order to allow the apache service to find and load the .jar file and it's contained classes:
wrapper.classpath=<ThePathToYourJARFile>
You can then use the packaged classes in your JSP pages/Java servlets after you've referenced the correct packages.