A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Can I use a Bean to send form data from Servlet to Model
Joined: Sep 15, 2009
Aug 07, 2010 02:39:30
Hi everybody, I am Chaitanya, I have a html form which sends some data to
. Total 25 fields are sent to the Servlet. These fields are inserted into Database through a Model. I am using an Array in servlet and passing this Array to Model.
My doubt is, can I use a Bean instead of Array.
Thank you all in advance.
Love all, trust a few, do wrong to none.
Joined: Sep 29, 2008
Aug 07, 2010 05:32:25
Sure, why not? You're writing it, you can do it however you want.
I agree. Here's the link:
subject: Can I use a Bean to send form data from Servlet to Model
getting an array into a bean
Passing data to two servlets?
setIndexedProperty errors after reposting form data
use of jsp, java serlvets and java beans in MVC model
Listener Class and Regular Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014