SHARE
TWEET

Untitled

a guest Jun 19th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.example;
  2.  
  3. import javax.faces.bean.ManagedBean;
  4. import javax.faces.bean.SessionScoped;
  5.  
  6. @ManagedBean(name = "mainApp",  eager = true)
  7. @SessionScoped
  8. public class mainApp {
  9.    
  10.    
  11.     private String message = "Messaggio che proviene da mainApp.java!";
  12.    
  13.        public String getMessage() {
  14.           return message;
  15.        }
  16.        public void setMessage(String message) {
  17.           this.message = message;
  18.        }
  19. }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top