Posts by Sandro Costa • 11 points
1 post
-
1
votes0
answers45
viewsQ: I have two classes one contains the fileupload and save file method... I want from the MB to call this class, which is the most correct way
follows the fileupload class public class FileUpload{ private String destination="D:\\tmp\\"; public void upload(FileUploadEvent event) { FacesMessage msg = new FacesMessage("Success! ",…