Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I save Vector in JavaBean in JSP???  RSS feed

 
verduka fox
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp site that I use javabeans to save the data from one page to the next. Is it possible to save a Vector in a JavaBean?
I'm asking because I am able to save the Vector in the bean in some cases. I am using WebSphere Studio and VisualAge for Java. When I use the WebSphere Test Environment in VAJ to test my code, the Vector saves to the bean as expected. When I publish my code to the WebSphere Application Server, however, I am getting a recursive error:

If anyone has any ideas on how I can get this to work in the WAS, or if you know of any problems saving a Vector to a JavaBean, please let me know asap. We're going into production in 48 hours and I have to solve this immediately.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it all works the same in WebSphere. WebSphere is no different from the WTE in this regard. From the error, I'd say that you've somehow accidently changed the source code of your JSP during deployment.
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!