Questions tagged as 'java'

0
answers

Get username in session jsf

I'm in doubt as to how to get the user's name in the session. I'm using Spring Security 4.2 I have my User Class import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import lombok.Data; @E...
asked by 27.08.2017 / 17:47
1
answer

Monthly and Yearly Chart of Primefaces

I am trying to query a chart by month and year that when I click on the chart series it will display the records belonging to that path. When doing the search the graph is mounted correctly according to the selected month and year, but when I cl...
asked by 24.08.2017 / 16:21
0
answers

TabView on Primefaces with Ajax

Next, I have a small problem, but I'm following the same steps as the primefaces showcase, but without success. I want to trigger an ajax every time a tab is selected, clicked. This way I will have what was the selected tab and if the user pr...
asked by 13.10.2016 / 21:05
0
answers

Error installing Java on virtual machine

I'm trying to run a playbook (ansible-playbook -i hosts.ini file.yml ) that installs java on my virtual machine, but it throws an error in the installation task:    FAILED! = > {"changed": false, "cmd": "apt-key add -", "failed": true,   "...
asked by 18.10.2016 / 11:37
0
answers

How can I internationalize text within my JOptionPane

I've managed to internationalize most of my code, but I can not change the JOptionpane of the ChangeCompany button My code is like this right now. package Empresa; import java.awt.Container; import java.awt.GridLayout; import java.a...
asked by 14.10.2016 / 20:45
0
answers

javax.el.MethodNotFoundException [closed]

Good afternoon guys, I'd like your help for an error that I still do not understand why it happens. The situation is: I have a method in my managedBean listTurmas that loads a list so that later I can use, I already tested this method in a te...
asked by 16.09.2016 / 17:31
0
answers

JSF + Wildfly dynamically connecting multiple banks

Hello, I have a Web application using JSF + CDI + JPA and WildFly 8 as an application server. So far I'm letting the server manage the transactions, where database connection information, email services, authentication ... are in the server sett...
asked by 16.09.2016 / 22:51
1
answer

Upload image after selected item

In my application, the user defines a root directory. After defining the root there is a listing of files in the directory. When the file is selected there is another directory where an image with the same file name exists. I want that when sele...
asked by 02.02.2017 / 18:45
1
answer

Session Difference in Java

What is the difference of javax.enterprise.context.SessionScoped and javax.faces.bean.SessionScoped ? Does anyone know how to explain?     
asked by 02.02.2017 / 19:12
0
answers

Is it interesting to learn JSP in 2017? [closed]

This semester in college I will be studying Software Development for the Web and studying the menu I will use JSP. What caught my attention is the fact that the course comes with other themes like XHTML, Tomcat 6 and the use of an older versi...
asked by 22.01.2017 / 14:26