In the server, JRun from my experience, there is a parameter setting for the classpath. This is in the JRunAdmin under the General tab and under the Java tab there. Just add the jat with the full path into the classpath and it will be able to load any class from there. You can change the classpath directly in the JRun properties file without the JRUn admin. It is easier. Just go to JRUN_HOME\jsm-default\properties and edit the jsm.properties file. change the variable java.classpath
 
Good Luck
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Sylvain Roche
Sent: Thursday, June 10, 1999 3:16 PM
To: [EMAIL PROTECTED]
Subject: Package loading

I'm not very awared of using external classes in JSP. It might be a trivial question, but how could I load packaged classes in my pages ? The only way I found until now is to had my package classes directly in the server's jar archive (/lib/jrun.jar in my case). And then I'm able to import whatever I need, which is exactly what I want.
 
But I'm sure there might be another way. Maybe do I have to change some parameters of my server (JRun as I said before), but I'd prefer a solution directly included in the JSP source, if possible.
 
BTW, I'd like to know more about beans loading in JSP, because I'm not very familiar with them. Is there a place where I  could find some exemples ?
 
Thanks
Sylvain

Reply via email to