[opencms-dev] java beans location

bub habub japorami at yahoo.com
Thu Jun 9 15:17:35 CEST 2005


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



More information about the opencms-dev mailing list