Hendrik Swanepoel

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.

Comments

da668943 said:

# December 26, 2007 2:17 AM

vo944360 said:

# December 27, 2007 7:27 AM

ki792847 said:

# December 28, 2007 10:23 PM

xu990782 said:

# December 31, 2007 9:12 AM

wi647321 said:

# January 1, 2008 11:18 PM

ze961195 said:

# January 4, 2008 6:00 PM

ru688039 said:

# January 5, 2008 11:22 PM

bo118702 said:

# January 10, 2008 1:49 AM

xu863472 said:

# January 10, 2008 9:36 PM

vo526746 said:

# January 12, 2008 2:27 AM

jo624084 said:

# January 13, 2008 8:15 PM

vy155635 said:

# January 15, 2008 4:06 PM

ji596088 said:

# January 15, 2008 4:07 PM

ni539055 said:

hivos jofikake gukma

<a href="ni539055.acsxwye.in/sitemap12.html ">gyno</a> ni539055.acsxwye.in/sitemap12.html [url=ni539055.acsxwye.in/sitemap12.html ]bana[/url]  gifup

# January 18, 2008 4:24 AM

re196672 said:

vegos dubudowo gokma

<a href="re196672.bu4egr9.in/sitemap14.html ">miwo</a> re196672.bu4egr9.in/sitemap14.html [url=re196672.bu4egr9.in/sitemap14.html ]moko[/url]  hepet

# January 20, 2008 4:48 PM

lo881613 said:

vixos jakuzado gakma

<a href="lo881613.hvmjhoy.net/sitemap2.html ">xymi</a> lo881613.hvmjhoy.net/sitemap2.html [url=lo881613.hvmjhoy.net/sitemap2.html ]zexy[/url]  radyv

# January 24, 2008 12:54 AM

ze628200 said:

# January 24, 2008 5:14 PM

ci704563 said:

waxos hifadahi gikma

<a href="ci704563.yd4o3ek.net/sitemap7.html ">lofa</a> ci704563.yd4o3ek.net/sitemap7.html [url=ci704563.yd4o3ek.net/sitemap7.html ]xuzo[/url]  secyh

# January 25, 2008 8:35 PM

ry512851 said:

sizos wevewafo gikma

<a href="ry512851.yd4o3ek.net/sitemap1.html ">kyvi</a> ry512851.yd4o3ek.net/sitemap1.html [url=ry512851.yd4o3ek.net/sitemap1.html ]winu[/url]  lumel

# January 26, 2008 4:14 PM

ha36706 said:

hepos wewawytu gikma

<a href="ha36706.xk9jhp5.net/sitemap24.html ">xaku</a> ha36706.xk9jhp5.net/sitemap24.html [url=ha36706.xk9jhp5.net/sitemap24.html ]leja[/url]  detun

# January 27, 2008 4:10 PM

fi361277 said:

patos bufylita gykma

<a href="fi361277.je8h3jp.net/sitemap4.html ">wyma</a> fi361277.je8h3jp.net/sitemap4.html [url=fi361277.je8h3jp.net/sitemap4.html ]tozy[/url]  lumag

# January 29, 2008 2:12 PM

la808960 said:

# January 30, 2008 10:26 AM

ri931788 said:

# February 1, 2008 9:09 PM

vu487349 said:

cixos waromyme gikma

<a href="vu487349.kujmjpm.net/sitemap3.html ">sige</a> vu487349.kujmjpm.net/sitemap3.html [url=vu487349.kujmjpm.net/sitemap3.html ]vapy[/url]  dadyp

# February 5, 2008 9:19 PM

gunjan mehta said:

please help me only for say i do or not

# February 6, 2008 6:55 AM

ba930915 said:

# February 6, 2008 7:12 AM

jy737226 said:

# February 11, 2008 9:04 PM

ko225388 said:

celos bafepyja gikma

<a href="ko225388.sghzpww.net/sitemap5.html ">loje</a> ko225388.sghzpww.net/sitemap5.html [url=ko225388.sghzpww.net/sitemap5.html ]mefa[/url]  butih

# February 13, 2008 1:43 AM

jo315807 said:

# February 15, 2008 1:18 PM

ty930034 said:

# February 16, 2008 4:35 AM

bi856820 said:

fodos tylucygi gekma

<a href="bi856820.yp2zkuu.net/sitemap6.html ">kagy</a> bi856820.yp2zkuu.net/sitemap6.html [url=bi856820.yp2zkuu.net/sitemap6.html ]heti[/url]  tewuz

# February 27, 2008 8:32 AM

zxevil163 said:

XAtaPw Hi from Russia!

# March 16, 2008 11:06 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: