I created a web service in java which returns List which works perfectly fine. But, when i call that webservice in my JSF managed bean it throws exception. Here is the ...
For school I'm making this website which is a look-a-like of twitter. Now I have this nullpointer exception for over 2 days now. I would like some help on the following ...
@ManagedBean
@ViewScoped
public class MakeReservation {
...
@ManagedProperty(value="#{cartManagedBean}")
private CartManagedBean cartSession;
...
}
@ManagedBean
@SessionScoped
public class CartManagedBean {
...
I am populating an h:selectOneMenu from the getter of a managed bean. This getter class calls the database and retrieves the list of f:selectItems for the drop down box. 2 Questions 1) Is the getter of the managed bean the right place to be doing this? It just feels like I am basically calling the database directly from the view... 2) ...
Hi All, I am using a managed bean with only one boolean property. Iam changing the status of this bean from different pages based on ceratin conditions. Iam abale to set the property in some pages, but in some pages iam having the above exception when i call this bean and setting the property. Please let me how to overcome this. ...