Questions tagged as 'java-ee'

1
answer

Get object when clicking on a commandLink in DataTable

I'm trying to pick up an object by clicking on a commandLink which is in each of the DataTable column, but always the nullPointerException error. Can someone help? I'm doing it this way: <p:commandLink id="ajax" ajax="false" process="@t...
asked by 11.06.2015 / 21:47
1
answer

Exception p: ajax Unable to attach behavior to non-ClientBehaviorHolder parent

I'm using JSF, PrimeFaces in my Java EE project. When I use the PrimeFaces component the orderlist , it returns me an exception on the screen and I do not know what exactly it is, it happens the moment I put the <p:ajax> tag. Could...
asked by 30.06.2015 / 14:49
1
answer

Does not recognize my createQuery method

I have a JSF2.2 project with CDI, and I configured my project correctly for CDI, which is very strange is that the createQuery method is not being recognized, other times it did the same way of programming and I never had a problem , but now I'm...
asked by 28.05.2015 / 00:13
0
answers

How to record the images inside the project?

Greeting for all, I'm working on a Java Web project that is using JSF with PrimeFaces, Maven, CDI with JPA. My web application is successfully inserting the logs, the application is a news registry, and thank goodness the application is wi...
asked by 31.07.2015 / 20:45
0
answers

Error 404 Tomcat

I'm starting with Maven, I put the dependencies I want in pom.xml and I created a page xhtml to test of error 404: The requested resource is not available. Nothing appears on the console, it is left blank. Does anyone know w...
asked by 19.06.2015 / 19:10
0
answers

Uploading xlsx Spring MVC and comparing data with SQL [closed]

I'm trying to upload an xlsx file and compare it to my database table, however I'm not getting it, as my file is too large I can not read it with the Apache POI and then compare to the table of SQL. You can at least guide me how to upload the...
asked by 25.06.2015 / 21:59
0
answers

Architecture Officer - Goal

The doubt I have is totally architectural. I'll expose a case just below to better illustrate the doubt that I'm hitting directly on my system. I have a feature that aims to register an employee. Such an employee is composed of basic fields l...
asked by 05.05.2015 / 00:49
0
answers

(Hibernate2) How to use createSQLQuery returning unmapped values

Good afternoon, Using HQL, I'm having trouble getting the client price table name . So I decided to try to use Native SQL via Hibernate. But I'm not able to do it in Hibernate 2 ... Next, I'll spend my classes involved and my function whe...
asked by 23.02.2015 / 12:30
0
answers

Error request does not contain multipart / form-data or multipart / mixed stream

I'm trying to save the image to disk but it's giving me this error. mai 18, 2015 12:03:56 PM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute ADVERTÊNCIA: javax.servlet.ServletException: org.apache.tomcat.util.http.fileupload.FileUpload...
asked by 18.05.2015 / 17:21
0
answers

DAO Method Can not Save Image

My bean class is already able to save the image in my specific directory, I know this because I did a test, but only it fails to save the String which is the name of the file that makes FileUpload in the database I'm going to show part of the...
asked by 19.05.2015 / 20:51