> This servlet below works with ServletExec (my development system). Since my
> classes were part of a package I had to supply the fully qualified path name
> e.g.
> http://localhost/servlet/LoadIt?class=com.knightsofthenet.test.bkParent
>
> rather than as http://localhost/servlet/LoadIt?class=bkParent.
>
> The classes I used to test had to have their system classpath available to
> the servlet JVM e.g. wrapper.classpath=path/to/solvers
Brett, I'm currently working on a secure dynamic servlet framework that does
exactly what you are trying to do and more, it is called Dash and is
currently under the LGPL license so it is available for whatever you want to
do with it...you might want to check it out from CVS...
it isn't 100% perfect yet, but the basic functionality is there...
the cvsroot is:
:pserver:[EMAIL PROTECTED]:/products/cvs/dash
pass: anon
module: dash
There is documentation available in the docs directory to give you an
overview of what is going on. You should be most interested in the
com.workingdogs.dash.modules.*Loaders.java files.
It relies on ECS <http://java.apache.org/ecs/> and Village
<http://www.working-dogs.com/village/>, but you can strip that stuff out if
you don't need it.
I'm developing it rightnow using ApacheJServ 1.0b3 on NT and it is working
quite well.
To answer your question, you do NOT need to have the code available within
the wrapper.classpath, all you need to do is have the code in your servlets
directory. Yes, you do need to supply the fully qualified package name, but
you can get around that by simply prepending the relative path to the path
that is passed in from the querydata. Take a look at Dash, I think that you
will find that it meets your needs exactly.
-jon
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]