A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Can I use a Bean to send form data from Servlet to Model
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 781
I like...
posted
Aug 07, 2010 02:39:30
0
Hi everybody, I am Chaitanya, I have a html form which sends some data to
Servlet
. 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.
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Aug 07, 2010 05:32:25
0
Sure, why not? You're writing it, you can do it however you want.
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Can I use a Bean to send form data from Servlet to Model
Similar Threads
use of jsp, java serlvets and java beans in MVC model
Passing data to two servlets?
setIndexedProperty errors after reposting form data
Listener Class and Regular Java
getting an array into a bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter