| Author |
regarding clas cast exception
|
LakshmiNarayana vishnu
Ranch Hand
Joined: Aug 03, 2006
Posts: 39
|
|
Hi everyone, I write one programme using struts,ejb,jboss and tomcat. when i am calling EJB from stutrs action class i am getting eror called "Class Cast exception" here is code where i am getting exception: try{ Context ctx=new InitialContext(ht); Object obj=ctx.lookup("ijk"); s="isk"; HelloHome home = (HelloHome) obj;-------------- error where i am getting //HelloHome home =ctx.lookup("ijk"); Hello hello=home.create(); please resolve ths problem as early as possible Thanks in advance LakshmiNarayana.V System.out.println(hello.hello());
|
 |
 |
|
|
subject: regarding clas cast exception
|
|
|