i have a two jsps
- init.jsp
- second.jsp
init.jsp
PreferenceServices preferenceServices = PreferenceServices.getUserSpecificPreferences(renderRequest);
here PreferenceServices is a class and getUserSpecificPreferences(renderRequest)
is a static method of PreferenceServices
class
second.jsp
<%@ include file="/init.jsp"%>
long documentId = Long.parseLong(preferenceServices.getValue(Constant.DOCUMENT_PREFERENCE, "0"));
here preferenceServices is defined in init.jsp
getValue(string,string)
is a method of PreferenceServices
class
Now the problem is, i am not able to get value in second.jsp using above lines of code of second.jsp
Can any one tell me how to resolve this?
Thanks,
Ravi Darji