This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

bean to servlet

 
sihani rani
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
how can i send data from java bean to servlet???


thanks in advance..
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you mean; what are you actually trying to do?
 
Nilesh Miskin
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Java bean is supposed to be a "Model". In other words, it is supposed to hold the state information. You don't send data from Java bean to a servlet. Servlet is the one that will manipulate a Java bean directly or indirectly & access the bean to get the state information.
 
mahesh shinde
Ranch Hand
Posts: 69
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you mean I cant understand
But If you want to access the value then access them using getter and setter
like beanObject.getProperty();
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!