Package dao.tro

Examples of dao.tro.CountryNameAsc


    }

    @Override
    public int doEndTag() throws JspException {
        ArrayList<Country> countryList = (ArrayList<Country>) DAOFactory.getDAOFactory(1).getCountryDAO().countryList(countryCount);
        Collections.sort(countryList, new CountryNameAsc());
        for (Country country: countryList) {
            try {
                pageContext.setAttribute("singleCountry", country, PageContext.REQUEST_SCOPE);
                pageContext.include("../Templates/Country.jsp");
            } catch (ServletException | IOException e) {
View Full Code Here

TOP

Related Classes of dao.tro.CountryNameAsc

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.