Hi

    I have JSP Program and Java Bean . i will send some parameter to Java 
bean . in java bean it will perform some calculation and send the response 
back to jsp.

i have problem at when i call the same jsp program in two browse with 
different parameters at the same time. the parameter of first browse value 
changes by two browse value. why is that java should maintain the instance 
separately know.

for sample program in jsp

   pgm.setCondition(parameter);
   v.executemethod();



in java

      public java.util.Vector getCondition()
       {
         return vect;
       }


       public void setCondition(java.util.Vector rv)
       {
         System.out.println("set Condition :"+ rv);
         vect = rv;

       }


it sart executing fine. when the two browse value comes the value of the 
first browse changes to second browse value.

example
vector v contains like this
v = [4,12-01-2002,LA,10] ---> first java bean value

v = [5,15-01-2002,SD,10] ---> second java bean  value

the first java bean value changes to second value
[5,15-01-2002,SD,10]
and send the response based on second bean value.

why is not maintaining separate value in each instance.

If you have any idea  . please let me know immed. it's a very urgent one.

Thanks
Kans


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to