This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
i have a page called CollegeRegistration.jsp. in this page i am using one dropdown in which i need to get values from database.
i have called a method of that class using its object. This method returns an ArrayList.
i have done following coding
ArrayList universityName=CAPUtility.getUniversityNames(); getUniversityNames() method returns an arraylist which contains all values to be displayed in drop down.
when i run this page i get null pointer exception on for the above line....