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....