[opencms-dev] howto use classes in jsp?
Tim.Smal at nuon.com
Tim.Smal at nuon.com
Mon Jul 19 10:14:01 CEST 2004
TestBean.class is stored as /WEB-INF/classes/TestBean.class
I restarted Tomcat.
Why isn't the class visible?
Do I HAVE to place the class in a package..??
Regards,
Tim.
-----Oorspronkelijk bericht-----
Van: Joachim Arrasz [mailto:info at arrasz.de]
Verzonden: Monday, July 19, 2004 8:55 AM
Aan: opencms-dev at opencms.org
Onderwerp: RE: [opencms-dev] howto use classes in jsp?
Hi,
> I didn't use a package name, class file is in root of
> /system/modules/myPackage/classes/ folder. Did restart my Tomcat
> server.. Zero effect :(
the classes MUST be under:
/system/moduels/this.is.my.module/classes/org/mypackage/foo/bar/
this example shows usage when your package is
org.mypackage.foo.bar.xxx <-- xxx is your classname...
After uploading this class, you have to publish it, then you have to
restart Tomcat. ClassLoader canĀ“t find classes before restart of your
servletcontainer.
You also can have a look in folder /WEB-INF/classes/ if you find your
classes there ...
Bye Achim
--
Questions about OpenCMS?
--> www.opencms-forum.de
_______________________________________________
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
More information about the opencms-dev
mailing list