Inject « Development « JSF Q&A

1. CSRF, XSS, SQL Injection Attacks in Java/JSF

I have a web application built on JSF and JAVA with MySQL as the DB. I have already implemented the code to prevent CSRF in my application.. Now since my underlying framework is ...

2. inject DAO in JSF converter

3. Dependence Injection

4. injection using jsf2

5. jsf phase-id injection

6. Injection problem - not quite sure if this is something i should be using injection for

If i was using jsp i would just set some session varibles and then pull them later from the bean. I am trying to use cdi injection but not having luck... i want to store an ID in this code: @SessionScoped @Named("SessionHelper") public class SessionHelper implements Serializable { static Logger log = Logger.getLogger("SessionHelper"); private int idPassed; public int getIdPassed() { return ...