File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
setIndexedProperty errors after reposting form data
Passing data to two servlets?
getting an array into a bean
Listener Class and Regular Java
use of jsp, java serlvets and java beans in MVC model
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015