Bear Bibeault wrote:
Your code does not show how you are establishing the keypress handler; how are you doing that?
And... why the timeout?
Tim Moores wrote:What is the issue you're having?
Stephan van Hulst wrote:
Steve Dyke wrote:When I try to use this code I get a compile error ...Attribute Value is undefined...
Sorry, that is my mistake. It should read:
Stephan van Hulst wrote:Your DataConnection class adds nothing useful to the DataSource interface. Throw it away and write your DAOs like this:
Note that this is just an example of how you can inject data sources into repositories. As I noted earlier, for user info, use your web application framework's authentication mechanism instead.
Stephan van Hulst wrote:Once again, what application framework are you using? Spring? Java EE? Bare servlets? How do you write your web page controllers?
Tim Holloway wrote:
Stephan van Hulst wrote:As I noted earlier, for user info, use your web application framework's authentication mechanism instead.