Package bo

Examples of bo.Mesaj


    public Resolution view() {
        return new ForwardResolution("/WEB-INF/jsp/contact.jsp");
    }

    public Resolution submit() {
        Mesaj msj = new Mesaj();
        msj.setEmail(getEmail());
        msj.setMesaj(getMesaj());
        msj.setTelefon(getTelefon());
        msj.setNume(getNume());

        IMesajDao mesajDao = new MesajDao();
        mesajDao.adaugaMesaj(msj);
        return new ForwardResolution("/WEB-INF/jsp/contact.jsp");
    }
View Full Code Here

TOP

Related Classes of bo.Mesaj

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.