Introduction how I got to spring (skip if you're not interested):
I just bought the book: "Rod Johnson - Developing J2EE w/o EJB" since I got annoyed about some ejb issues and interested in it's alternatives. I only developed some small applications and tried out hibernate and stuff and want to learn more about Java, OOP and J2EE. I'm a administrator of some real big high availability Java Applications, not officially a developer, but very interested in developing.
This book then turned out not only very good, but Rod makes a lot of advertising for his springframework. So I got interested and here we go, I tried the Spring MVC - Step by Step. Examined the petclinic and petstore spring example apps and now I'm trying to extend my knowledge by building some application based on the knowledge from the tutorials and the example apps and got stuck with a stupid problem.
I added a User bean, UserManager, some persistence incl. DAO pattern and a form + validator to add new users. Tried to stick to the way it was done in the tutorial and changed a few parts. Validation is working fine, but the appropiate error messages are not resolved on the view.
Is shown in the html source as following:
And I really don't find the problem. I tried thousand things. Compared my application to the examples and to the tutorial, but I'm really stuck. I guess it's a stupid little thing what I've overseen. This is really frustrating since I already have a few ideas what I want to try next (replace plain jdbc with hibernate, ...).
If you're interested in the code I wrote, you can enter my subversion repository. I'm interested in any feedback to that code, since I want to improve myself and learn and this is my very first steps in spring.
Originally posted by Thomas Becker: Thanks to everybody who would have contributed to my problem.
I have nothing against turning the other cheek and all that but thanking those who would contribute to your problem is going above and beyond the level of friendliness we ask for on JavaRanch, IMO I guess the ones who were actually thinking of helping with a solution should just give themselves a pat on the back, huh?