[opencms-dev] Classes; a way to use them in source

Steve Bryan steve at bright-interactive.com
Thu May 22 12:34:10 CEST 2008


It is not easy to compile Java .java files on the fly in the Tomcat
environment. However you could move your required logic into JSPs (which can
themselves have declared classes and embedded Java code). These can be put
in your module and will be recompiled when edited.

Regards
Steve

-----Original Message-----

Date: Thu, 22 May 2008 14:24:46 +0800
From: " ?? " <daoquan at gmail.com>
Subject: Re: [opencms-dev] Classes, a way to use them in source
	(.java),	and not as .class files?
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Message-ID:
	<4355fa140805212324p39319f22vd1ff5320fc1ebb6b at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

You may use resin as your web container,it can automatically compile Java in
WEB-INF

2008/5/21, Yves Glodt <yg at mind.lu>:
>
> Hello,
>
> I am aware that I can put compiled java classes into the lib or class
> folders
> of my module.
>
> But I would like to have uncompiled .java classes in the VFS... Is this
> possible at all? Can OpenCms somehow deploy them and let them compile?
>
> Regards,
> Yves
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.opencms.org/pipermail/opencms-dev/attachments/20080522/b5699c37
/attachment-0001.htm 





More information about the opencms-dev mailing list