Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,228 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,307 people online right now. Registration is fast and FREE... Join Now!




Servlet Problems

 
Reply to this topicStart new topic

Servlet Problems, Populating Beans

>>codingGeek<<
11 Oct, 2008 - 08:33 AM
Post #1

New D.I.C Head
*

Joined: 12 Jun, 2008
Posts: 28



Thanked: 1 times
My Contributions
I have my web project setup with three different registers. All three use the same form. The first register simply utilizes getParameter to retrieve the parameters from the form post. The other two registers utilize a bean class. However, I am having difficulty understanding why when I submit the forms for these that it does not populate the bean.

I have included coreservlets.jar in my WEB-INF lib folder and added it to the build path and module dependencies.

The form is setup correctly (verified by the fact that first Register uses the same form and works).

I have verified that there are parameters being sent to the doGet method through request.getParameter().

So I believe I have narrowed it down to my setup.

Anyone know what else could possibly be wrong?



User is offlineProfile CardPM
+Quote Post

kawczynski
RE: Servlet Problems
14 Oct, 2008 - 12:34 PM
Post #2

New D.I.C Head
*

Joined: 23 Jun, 2008
Posts: 18



Thanked: 3 times
My Contributions
Post your html form, your servlet code, your bean code, and your web.xml file. Without this stuff, we're more lost then you are.
User is offlineProfile CardPM
+Quote Post

>>codingGeek<<
RE: Servlet Problems
16 Oct, 2008 - 12:27 PM
Post #3

New D.I.C Head
*

Joined: 12 Jun, 2008
Posts: 28



Thanked: 1 times
My Contributions
In the event that someone has this problem in the future. Java Beans require your field variables to be lowercase.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 03:12AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month