A good reference is http://java.sun.com/j2ee/tutorial/doc/JSPBeans.html

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 4:07 PM
To: [EMAIL PROTECTED]
Subject: javabeans with jsp


I don't know where exactly the javabean class goes in order for a jsp script

to find it. Lets say that I have a jsp script in:    
~/examples/jsp/tester/tester.jsp

and tester.jsp uses a bean class called "UserBean.class".

tester.jsp has this line in the beginning:
<jsp:useBean id="bean" class="UserBean" scope="session" />

My question is from this point where do I put the bean "UserBean" and do I 
have to touch the "web.xml" or "server.xml" at all to resolve this 
problem........

Reply via email to