Well, we have a FAQ item that applies to that. It's named "Tell the Details" and if I wasn't so dang lazy, I'd point you at it, but the gist of it is that just saying "it doesn't work" doesn't give us much to go on, and in particular, when you're asking a question in a
JSF forum and it doesn't even sound like the program you're working with is a JSF program.
The best way to get an answer is to find the forum most likely to be full of experts in the subject that your question pertains to. Normally, I'd say that would be the
JSP forum, but I think that NetBeans is generating some stuff that I don't know anything about, so I'll bounce you to the
IDE Forum and see what happens.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.