[opencms-dev] Using externals applications to extend functionality in OpenCMS

Michael Moossen m.moossen at alkacon.com
Wed Aug 3 09:29:20 CEST 2005


Hi, Alexander!
 
> Opencms will take everything in the lib folder of a
> module in put it in the WEB-INF/lib folder of the opencms webapp...
this is happens no longer automatically (OpenCms 6), you will have to configure
the export points of your module.
Administration View -> Module Management -> Edit Module -> Edit Export Points

-- 
Regards
Michael Moossen
Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com



Quoting Alexander Wallace <aw at avatartechnology.com>:

> In your opencms module, you should upload your jars to the lib folder (of
> your 
> module) and publish it... Opencms will take everything in the lib folder of a
> 
> module in put it in the WEB-INF/lib folder of the opencms webapp... Depending
> 
> on your servlet container/app server you may need to restart it or at least 
> restart the opencms application...
> 
> I'm doing exactly what you describe (i wrote some classes, use hibernate,
> etc, 
> using an ide, created jars, and instantiate those clases from jsps...)...
> 
> Just impor the classes in the jsps just as you would do with any other..
> 
> Hope that helps...
> On Tuesday 02 August 2005 12:51 pm, Sebastian Lavena wrote:
> > Hi list!
> > 
> > I'm developing in Eclipse serveral packages to give specific functionality
> 
> > to my Web Application administrated with OpenCMS.
> > 
> > I have been created a module in opencms, and I included in resources the
> JAR 
> > which I exported with Eclipse, including all my packages (I have 5 
> > packages).
> > 
> > In fact, I include 2 resources in the module: The JAR including all my java
> 
> > class, and the JDBC connector to mysql, because my java class use it to 
> > access to my DB.
> > 
> > My problem is that can´t find any way to make work my jsp that´s the only 
> > thing I do is instance one of my class doing:
> > 
> > " MyClass instance = new MyClass(); " of course, I import before the
> package 
> > where are all my class.... but I suspect that´s maybe I don´t write ok the
> 
> > location of my package, because I really I don´t know how to import a 
> > package that´s is a resource of a module in OpenCMS.
> > 
> > I really estimate if anybody reply to me with any tip, or if someone have 
> > any example working to send it to me...
> > 
> > Thanks a lot,
> > 
> > Sebastian 
> > 
> > 
> > 
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the opencms-dev mailing list