This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javax.faces.application.FacesMessage; | |
| import javax.faces.context.ExternalContext; | |
| import javax.faces.context.FacesContext; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpSession; | |
| import org.primefaces.context.RequestContext; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.beans.factory.annotation.Qualifier; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // STUDENT: Bloch Martin | |
| import java.io.*; | |
| public class TestA { // KLASICKE RESENI | |
| static String data=" zde muzete zapsat libovolny vkusny a chytry text "; | |
| static float total=data.length(); | |
| static File f = new File("prt.txt"); // vystupni soubor | |
| public static void main(String[] args) throws Exception { |