This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes bean to servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "bean to servlet" Watch "bean to servlet" New topic
Author

bean to servlet

sihani rani
Ranch Hand

Joined: Jun 22, 2010
Posts: 32
hi
how can i send data from java bean to servlet???


thanks in advance..
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Not sure what you mean; what are you actually trying to do?
Nilesh Miskin
Ranch Hand

Joined: Jun 17, 2010
Posts: 44
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.


Nilesh Miskin
mahesh shinde
Ranch Hand

Joined: Jul 24, 2009
Posts: 69

What you mean I cant understand
But If you want to access the value then access them using getter and setter
like beanObject.getProperty();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bean to servlet
 
Similar Threads
Question regarding EL and standard action from HF Servlets and JSP
where is the Busness logic in Model 2 pattern
Problem in inserting record to Oracle Database.
Servlets
JSP/Servlets