I am getting problem to access ejb in struts framework..
while I am going to instantiate ejb class through that is displaying error like:
"Error: cannot access class javax.ejb.EJBHome; file javax\ejb\EJBHome.class not found"

My code is below:

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.Locale;
import java.util.Vector;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.rmi.PortableRemoteObject;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.struts.action.*;
public class TestActionHandler extends Action
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException, NamingException {
testSessionEJBHome testSessionBean;
InitialContext ctx=new InitialContext();
Object objref = ctx.lookup("SessionEJB");
testSessionBean = (testSessionEJBHome)PortableRemoteObject.narrow(ob jref,testSessionEJBHome.class);
TestFormBean tform = (TestFormBean) form;
request.setAttribute("TestFormBean", tform);
String name=tform.getIpString();
String tmpStr = "Welcome " + name + " !";
return (mapping.findForward("failure"));
return (mapping.findForward("success"));


Please help me out