Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How URL String help to pass a parameter in the JSF application?
if suppose that we have any URL: http://r4r.co.in/java/project.jsf?id=777, we are tring to access the passing parameter id with the following lines of java code.
FacesContext fct = FacesContext.getCurrentInstance();
String id = (String) fct.getExternalContext().getRequestParameterMap().get("id");