Vic Hood wrote:
I get the value of Code printed from the bean.getCode() statement as null. Any clue as to why this may be happening? am i missing something?
Vic Hood wrote:HI Mike ,
Just to quickly clarify your suggestion . You are saying that . I manually set the values obtained from ym servlet into the DAO like i do here
Also in addition I was against the idea of using instance variables for the fields altogether ,from my very limited knowledge of beans I was hoping that while doing something like this in my jsp
But are instance variables in the servlet needed to get these values? Shouldnt they be set to the bean directly?And there would be no need of any instance variables in that case?
It would be great if anyone could correct my code as Iv e been stuck here for days now .
Im sorry if my post is confusing . its just that im relatively very new to coding and trying to get a hang of how this would work
...when i try to insert a row , there are are two records added as in duplicate entries , any clue as to why this could be happening ?
...Could you please provide an example of redirecting to another servlet?
The only thing that kept the leeches off of me was this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton