hi
yes the diretory structure reflects the package structure ie its web-inf\classes\ejb1\*.classes
here is my jsp file
"
<%@ page import="javax.naming.*, javax.rmi.*, java.util.*, java.io.*, ejb1.*" %>
<%
int eno = Integer.parseInt(request.getParameter("eno"));
String name = request.getParameter("ename");
String ssal = request.getParameter("esal");
double dsal = Double.parseDouble(ssal.trim());
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.T3InitialContextFactory");
p.put(Context.PROVIDER_URL,"t3://localhost:7001");
Context ctx = new InitialContext(p);
System.out.println("1");
DemoHome dh = (DemoHome)ctx.lookup("DemoEJB");
Demo d = dh.create();
boolean saved = d.SaveRecord(eno,name,dsal);
if (saved == true)
out.println("<font color = red size =6>the row is inserted</font>");
else
out.println("<font color = green size =6>the row is not inerted</font>");
%> "
thanks in advance
sri