Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can someone help me

 
anand chawla
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I m creating a vector in a jsp page.
I m passing this vector to a bean and deleting a element from it.
But this is not reflected back and is still shown in jsp page...
can anyone tell me why is this happening..
i suppose i m passing this by call by value...
can someone help me....
 
Kem Broderick
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
As far as I know, you'd have to use some kind of an accessor
method on the bean to get the changed Vector back.
I don't think the Vector will exist in scope in the way that
you can pass by reference.
Cheers.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us some fragments of your code? It's hard to debug the problem without seeing that.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic