File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Can someone help me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Can someone help me" Watch "Can someone help me" New topic

Can someone help me

anand chawla
Ranch Hand

Joined: Oct 19, 2000
Posts: 91
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

Joined: Oct 31, 2001
Posts: 2
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.
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
Can you show us some fragments of your code? It's hard to debug the problem without seeing that.
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at for other WebSphere information.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: Can someone help me
It's not a secret anymore!