I've been programming
jsp's for a few months now. So far I have programmed in the Model 0
pattern ;)
But after constantly being yelled at by article after article I decided to take small step away from Model 0 and try to make a bean. So I created my class...
It is very simple. I have a form with these 5 fields and a Submit button. On submit I run some javascript to see if the search criteria falls into a certain set of combinations that are allowed. After that it goes over to a jsp for some processing. But the only value that actually gets held by the bean is the first field PO. The next three return null and the last one return 0.
I did an out.print(myPackage.getPO()); ect, for all my fields. That is how I found out their values. Why would the last
string be a 0 and not a null, and why wouldn't they be taking to the bean? Any ideas?
PS. I'm new here. Please be nice ;)
[ November 20, 2007: Message edited by: Bear Bibeault ]