hai
use somewhat like
<jsp:useBean id="db" scope="session" class="com.sqd.BeanName" />
<%
db.methodsonBean();
%>
here bean is saved in root/com/sqd of the server
and bean is like
BeanName.java
package com.sqd
class BeanName
{
use code for bean goes here
}
hope this helps
Place it where ever u r placing ur servlet class files .
ie classes or servlet directory .
u can also create ur own directory inside classess or servlet depending where is ur servlet class files .
u can keep the name of dir as beans for u to remember easily . and use the funda of packages it would work fine .