You can't get the EntityManager in a jsp page. If you want it in a servlet and are
using a SMPC called entityManager you can do
Component.getInstance("entityManager"), but you will need to transaction
demarcation yourself. In general Seam/JSF without you needing to mix your presentation
and business logic like that (there are still some cases where you have to use a
servlet).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040883#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...