[opencms-dev] java beans location
Alexander Wallace
aw at avatartechnology.com
Thu Jun 9 16:02:01 CEST 2005
if your bean is in a jar, put it in the lib folder of your site's module, if
it's a compiled class, put it in the right folder (based on package) in the
classes folder of the your site's module... You'll have to publish those
folders then so that opencms copies those files to the WEB-INF/lib or
WEB-INF/classes respectively... You may or may not have to restart the app in
your server then...
On Thursday 09 June 2005 08:17 am, bub habub wrote:
> hi,
>
> i created a java bean and want to use it now in a jsp
> page. but when i want to use it doesn't work.
>
> i think there i must have done something wrong with
> the import option. i uploaded the bean as a usual java
> class file and put it for the moment in the same
> folder. where is the right location and how do i point
> to the beans that i want to use.
> here is my code:
>
> <%@ page import="TextScrollBean" %>
> <%@ page session="false" %>
>
> <%jsp:usebean id="myTextScrollBean"
> class"TextScrollBean" >
>
> </jsp:useBean>
>
> <% myTextScrollBean.getPreferredSize() %>
>
>
> thanks
>
> rami
>
>
>
> __________________________________
> Discover Yahoo!
> Get on-the-go sports scores, stock quotes, news and more. Check it out!
> http://discover.yahoo.com/mobile.html
>
>
> _______________________________________________
> 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