Questions tagged as 'java-ee'

1
answer

How to display Questions retrieved from a DAO on the same JSF page

Good afternoon. I have a page called simulate.xhtml where I get some parameters (Filter) to query the database according to the filter. It's all working, what I wanted was to get this query and display the questions on the same page, that i...
asked by 13.10.2015 / 19:42
1
answer

CommandButton Primefaces does not call method

My commandbutton shows no error when clicking, but does not execute the method either. Commandbutton code: p:commandButton action="#{clienteMB.cliente.Salvar}" value="Incluir"/ Method code: public void Salvar(){ Syst...
asked by 29.08.2015 / 14:50
2
answers

How to understand shopping cart logic in a JSF project?

I am developing a prototype of Ecommerce being that I am still trying to learn the logic of the shopping cart. By this link or this other of YouTube videos he does the following steps: It creates a method that captures the record accord...
asked by 20.08.2015 / 16:17
1
answer

How to use the upload approach saving the path in the bank?

I created a Java Web project that is using JSF with PrimeFaces, Maven, CDI with JPA. My web application is successfully entering the records, the application is a news register, where it is also necessary to insert a photo, the upload approach...
asked by 31.07.2015 / 14:03
1
answer

How to handle error 404 and 500 in vRaptor?

I have already seen tutorial of vraptor4 teaching to put this error in web.xml, to redirect, the following xml code: <error-page> <error-code>404</error-code> <location>/404.jsp</location> </error-page&...
asked by 14.07.2015 / 19:36
2
answers

How to edit a database value using JSF?

I'm trying to edit a database record using JSF. The logic is simple, there is a list of clients, and by pressing the edit button in front of each client in the list, a form opens, with inputTexts loaded with the current values, and when editing...
asked by 07.09.2015 / 20:36
1
answer

Error when running web application

I installed Tomcat on a server and am trying to access my application but it always gives this error: The requested resource (/ProjetoAuditoria) is not available. When I Starto on my machine other computers on the network can access, but wh...
asked by 22.06.2015 / 21:48
1
answer

How do I call the intercept () method of an Intercept class in another project method?

Okay, everyone? Well, I'm having a hard time and would like a little help. I have the following method of my AccessIntercept class: @Intercepts @RequestScoped public class AcessarIntercept { @AroundCall public void intercepta(Sim...
asked by 26.06.2015 / 16:32
1
answer

Logic to inhibit registration permanently

I have a "problem" and I can not think of anything to solve it so I would like your help. I have a desktop system that is the intermediary between the server and my web system. This desktop system makes two queries in the database every hour and...
asked by 09.06.2015 / 13:41
1
answer

Page does not load components Primefaces

My page is not loading the components of Primefaces, in this case a dataTable. The final result is this, both in chrome and in the Eclipse browser itself: Hereismycode:Marks.xhtml<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN"...
asked by 08.12.2014 / 18:23