I'm having a problem with a Bean I created for accepting entries via "post" in a form on a
JSP page. All I get are null values, and I can't find where I'm going wrong.
After reading Bear's article entitled "Scriptless JSP Pages: The Front Man" from the May 2006 journal, I started working to move the logic for handling the form data off the primary page (something which was done often in the code here, and from where i picked up the bad habit myself). So, I have the following code on the page containing the form:
The receiving page (processReferee.jsp) has the following code:
The bean itself is named NewReferee, and has the format:
I realize that passing the POST to a JSP is poor form (as is the system.out.println), but this is just to
test that I'm getting values passed over. I'm going to fix that after I get this issue resolved. The page processReferee.jsp will be changed to a
servlet which calls another part of the "referral" class (one I've yet to write), passing it a linkedHashMap of name/value pairs, and then redirect to the original data entry page, ready to accept more entries.
I also set the scope to "session," with no change. Can anyone point me in the direction of what I'm missing?