Your user name (Robinson) does not comply with the JavaRanch's naming policy. Pse change it you wish to continue posting in our forums. You also posted this in the wrong forum try the "Servlets and JSP's" fourm. Good luck
Hi!, Try this... import that bean in your jsp like this with the other imports..(Here I have a bean named user) <%@ page import = "user.*" %> then get the initial context. I am afraid I don't have the code for getting it. I had in one of the files named EVUtil2. InitialContext ctx = (InitialContext)EVUtil2.getInitialContext(); Look up the home RegisterUserHome regUserHome = (RegisterUserHome)ctx.lookup("RegisterUserHome"); Create remote.. RegisterUser regUser = regUserHome.create() ; call the method..(here MemberGroups) VectormemGroups = regUser.MemberGroups(OrgID, userId); use the data.
I know this may be a little confusing but the steps are really very helpful. I wish I could give the whole code based on Weblogic5.0. Follow the steps and search for the correct syntaxes. All the best.
Originally posted by ROBINSON: Dear all, I am new to EJB and JSP. I want to call a EJB from JSP Client. Can anybody help me to do a Program? Thanks & Regards ROBINSON