Questions tagged as 'java-ee'

2
answers

Convert DTO to Entity Java

I have the following problem, I am trying to create a method that converts DTO's to Entity's and vice versa until the moment I arrived at the following method that converts perfectly when they are compatible attributes String to String ,...
asked by 17.03.2015 / 15:59
1
answer

Burst net.vidageek.mirror.exception.ReflectionProviderException error: Could not invoke method, how to fix?

I'm in a code where at the time I run this method in java from HtmlUnit: // SIMULANDO UM NAVEGADOR WebClient client = new WebClient(BrowserVersion.getDefault()); client.setJavaScriptEnabled(false); client.setCookiesEnabled(true); System.out....
asked by 07.07.2015 / 22:36
1
answer

Events and changes in a JSP?

Hello. I have a jsp being a chat (due to a restriction, I'm using Struts 1). In this JSP, I have the following div : <div class="conteudo" id="conteudo" name="conteudo"> . I need to return an automatic response (can be an...
asked by 18.11.2014 / 20:02
1
answer

Doubts in using the dataExporter

I am using the dataExporter from primeFaces to export the contents of a dataTable into pdf. The problem is that the pdf does not bring the name of the columns, just the content. In the examples I've seen in the showcase, it captures the column n...
asked by 10.11.2014 / 20:39
1
answer

SessionScope is not coming in Request

I have a bean to log in, when I try to get it in the filter class request it is coming null. The information that is coming from the console is these. 17:29:57,968 INFO [stdout] (http-/127.0.0.1:8080-1) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 1...
asked by 10.11.2014 / 20:38
1
answer

RichFaces fileUpload does not call the listener

I'm using the latest version of RichFaces, I've copied the show case example on the RichFaces website, and the example does not invoke the listener, I tried everything, could anyone help me? xhtml <rich:fileUpload fileUploadListener="#{f...
asked by 07.11.2014 / 18:41
1
answer

Recover disk image via callback

Well, I'm developing a feature that aims to upload an image (this step has already been done) and right after I "retrieve" it to select some color in it ( ColorPicker with Canvas ), just like this example . The problem is that I do not kno...
asked by 13.01.2015 / 19:04
1
answer

Check which Websocket sessions are inactive

How to check if a session is active, when the device that was connected to the Websocket server suddenly shut down? Because in this situation, if I use the Session.isOpen() method, the return is true . I think the return should b...
asked by 14.08.2014 / 21:18
3
answers

Problem with Tomcat access at the time of deployment

I'm working on a Java EE project in NetBeans 8.0.1 using Tomcat 8.0.9 as a container. The problem occurs at the time of project execution, IDE asks for a username and password and I provide them, but it ignores them and asks again, I click cance...
asked by 31.10.2014 / 16:39
1
answer

Going to a certain tab

This is my menu: <p:menubar> <p:submenu label="Clientes"> <p:menuitem value="Cadastro" action="#{nomeBean.cadastrar} outcome="funcionario.xhtml" /> <p:menuitem value="Consulta" action="#{n...
asked by 30.10.2014 / 16:15