Questions tagged as 'java-ee'

0
answers

What error is this javax.servlet.ServletException: getOutputStream ()? [closed]

I am generating a report, the moment I click to send it and it displays this error. Exception : javax.servlet.ServletException: getOutputStream() has already been called for this response at javax.faces.webapp.FacesServlet.service(Fac...
asked by 29.06.2015 / 15:17
0
answers

How to clean a p: form messages by Bean?

I have the following situation: 1. I have an xhtml with <p:tabView> with id="tab"; 2. In this tabView I have 3 tabs and each one with its forms and <p:messages> with their respective id; What is the problem? In t...
asked by 07.11.2015 / 23:03
1
answer

Exception returned null Java Web

Can anyone help solve an exception being thrown in my application? I'm developing a Java web application, I put only a input and a selectonemenu in the application to try to save the data, the moment I click the save button it g...
asked by 11.06.2015 / 17:41
1
answer

Action on center text button

Someone could help me as I could do so when when I type any text into an input, there I have a button on top of my input where I want to center that typed text. Could someone help me how can I do it? Here's the button I want you to do the act...
asked by 15.06.2015 / 20:19
2
answers

Use or not to use "Backing Bean" / "Manage Bean" with JSF?

On page 64 of the Algaworks e-book "Java EE 7 with JSF, PrimeFaces and CDI" explains the use of backing beans, which are , responsible for controlling the components of JSF pages. But at the end of the explanation there is a paragraph that...
asked by 13.07.2015 / 21:12
0
answers

Problems closing splash screen of RAD (v7.5)

I'm having an unusual problem (who does not?), my launcher / splash screen opens, but it keeps this state even after I choose the desktop and after the RAD loads the project. It only closes when I stop all software. The last change my RAD underw...
asked by 26.12.2014 / 13:02
1
answer

Convert DateTime to unixtime

Good morning, someone can help me? I have a Java application and I need to do a conversion .. In which is the localDate for unixtime .. How can I do this? This is my localDate: for (Telemetry telemetry : listTelemetry) { telemetry...
asked by 27.10.2015 / 13:17
0
answers

Doubt Migration JSF 2.1 for JSF 2.2

I migrated my application from JBoss AS 7.1.1 to Wildfly 8.2 and JSF 2.1 to JSF 2.2 . I also use Hibernate 4.3.7 , JPA 2.1 and PostgreSQL . I am getting access to my application normally, but when tr...
asked by 07.07.2015 / 15:27
1
answer

How do Hibernate Search sort the result of a search?

I have a indexed search with Hibernate Search but I can not get Hibernate Search sort the search result by the order of a particular column , such as the column name. But there is a quirk . When the search is done using some term, the r...
asked by 21.03.2014 / 19:03
2
answers

Automatic email retrieving data from the Oracle database

I have to do a Java project that sends automatic e-mail, taking data like name, CNPJ, etc. in the Oracle database every day at 10:00 am. How to create this?     
asked by 03.09.2014 / 20:51