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

Posted on 2009-02-17
Medium Priority
Last Modified: 2013-11-24
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.
Question by:napoleontan
1 Comment
LVL 92

Accepted Solution

objects earned 2000 total points
ID: 23666861
you can use beanutils for that


Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
A solution for Fortify Path Manipulation.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question