hi
In remote (Cat) have :
//
public ProdDetails prodDetails(String cat)
                throws ProdDetailsException, RemoteException;


in session bean (CatBean):
//
public ProdDetails prodDetails(String cat)
                throws ProdDetailsException
{
String tmpCat = new String(cat);
System.out.println(cat); //it print value passed from servlet, e.g. "1"
System.out.println(tmpCat);//it alweys get "0" <-problem is here
...
}

in servlet i have:
//
CatHome phl = 
(CatHome)PortableRemoteObject.narrow(intCtx.lookup("java:comp/env/ejb/CatHome"), 
CatHome.class);
Cat cat = phl.create();
ProdDetails pd = cat.prodDetails("1");//passing value which lost in session Bean

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831244#3831244

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831244


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to