How to Automatically Get Parameter From Request Object to Bean Automatically in a Servlet

We all know that using the setProperty in a JSP page automatically fills up the JavaBean with all the matched request parameters. I was wondering how do you do it when your in a servlet.

Of course I could add a function to my Bean that will map all request query parameter with the value. But I was wondering if there is built in function that i could call.
LVL 1
napoleontanAsked:
Who is Participating?
 
objectsConnect With a Mentor Commented:
you can use beanutils for that
http://commons.apache.org/beanutils/

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.