Struts does not serialize and deserialize complex objects for you. If
you need to serialize vector into string and to deserialize it back
you need to do it yourself.

Another approach is to keep the vector in the session instead of
sending it to client and then back to server.

On 6/7/06, Maya menon <[EMAIL PROTECTED]> wrote:
Can anyone please help here ?

  1. request.setAttribute -> sets a vector in Action class 1
  2. In jsp, displays the values in vector using iterate tag and theres a hidden field with value 
as values in vector. In this jsp, the next .do is getting called like <a 
href=...,do?data=<bean:write name="data"/>

  3. In the next action class, I want to get it
  String x = request.getParameter("data");
  and again create a vector, to set it to the request

  If I do that, in the jsp, it says: no getter method found.
  please suggest me where I am wrong

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to