[opencms-dev] using Java custom classes?

Vikrama Sanjeeva viki.sanjeeva at gmail.com
Tue Mar 18 01:50:59 CET 2008


Yes

On Tue, Mar 18, 2008 at 3:36 AM, Fabian Huschka <fabian.huschka at componio.net>
wrote:

> Hello Vikrama,
>
> just to make sure: Did you restart OpenCms after copying/publishing?
>
>
> \Fabian
>
> Vikrama Sanjeeva schrieb:
>  > Hi,
> >
> >   I am trying to call my self created Java class constructor in JSP
> > located in system/modules/com.mysite/templates. But on loading JSP, it
> > gives compile time error.
> >
> > Here is what I have done, with no success.
> >
> > 1: created module mysite and created classes/lib/templates and other
> > folders.
> > 2: export points: "/system/modules/com.mysite/classes" to
> > "tomcat-6.0.2\webapps\opencms\WEB-INF\classes\"
> > 3: exported module resources
> > 4: Published resources online.
> > 5: in site root: "system/modules/com.mysite/classes/com/mysite". Here
> > Test.class is present.
> >
> >   However, when I select "Online" from Project, I see
> > "system/modules/com.mysite/classes" empty.
> >
> > Also, I mannualy copy-pasted com/mysite/test.class in
> > ""tomcat-6.0.2\webapps\opencms\WEB-INF\classes\"" folder.
> >
> > I tried making my.jar which contained Test.java. Placed this my.war in
> > LIB folder of opencms, but no success.
> >
> > Someone please guide. Thank uou.
> >
> > Bye,
> > Viki.
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080318/f8f9fbf8/attachment.htm>


More information about the opencms-dev mailing list