i tried an useBean example
-----------------------example.jsp----------------------------
This is an example
jsp page !!
<%@ page import="foo"%>
<jsp:useBean id="ex1" class="foo.exampleBean" />
<jsp:getProperty name="ex1" property="member"/>
--------------------------------------------------------------
i put the .class file of exampleBean.java in WEB-INF/classes/foo
the
java file follows
-------------------------exampleBean.java---------------------
public class exampleBean{
private int member;
public int getMember(){
return member;
}
public void setMember(int mem){
member=mem;
}
}
-------------------------------------------------------
i do not know where the problem is.
can anyone help.
ARUL JOSE
[ July 14, 2005: Message edited by: Bear Bibeault ]