Hi,
Resource injection is not supported in Struts action classes. However, it's supported in jsf managed beans.
You can take a look at various sample projects included in NetBeans 6. Ctrl-Shift-N to bring up new project wizard, then choose sample, jsf+jpa, etc.
Another good resource is JavaEE Tutorial, which also includes many simple and useful samples, all ready to be opened as NetBeans projects.
-cheng
[Message sent by forum member 'cf126330' (cf126330)]
http://forums.java.net/jive/thread.jspa?messageID=251071