how can i use a bean inside another bean?
I use this solution, what's the best way?
@ManagedBean(name="firstBean")
public class FirstBean implements Serializable{
@ManagedProperty(value="#{myBean}")
private MyBean myBean;
...
}
I am new to JSF and JSP, so these are probably bad practices.
enfix source
share