Questions tagged as 'java'

2
answers

Class not serializable

Next, I'm studying a project involving javaWeb, with jsf + primefaces . I'm using apache tomcat 7 . The problem is happening when starting the apache service and then testing my application, in which the error I identified was...
asked by 25.02.2016 / 19:01
1
answer

"Unfortunately, * my application * has stopped" in passing data to Activity

I am making an app that formats bibliographic references according to ABNT, but there is an error to pass the data entered by the user to the next activity , which displays the formatted data. Follow the codes and print with the error m...
asked by 01.02.2016 / 18:11
1
answer

How to read a MapString return, String Java in javascript?

When making a request to a java control that returns a key map and value "String": @ControllerSupport public Map< String, String > teste() { Map< String, String > teste = new HashMap< String, String >(); teste.put( "T...
asked by 02.02.2016 / 21:06
2
answers

How to integrate Theme Spark - primefaces with Maven

Can anyone help me with my problem? I'm trying to integrate Theme Spark with maven to raise the theme. However, I'm having a lot of difficulties. link I looked in the documentation and did not have any instructions teaching how to perfor...
asked by 08.11.2015 / 19:56
1
answer

Authentication control in Java Web

Good evening, I'm doing a project using JSF, Hibernate and Tomcat and one of the requirements is: X RF 01 . The system must use passwords for secure control of the application. What could I use in this control? I tried the JAAS but I...
asked by 08.11.2015 / 01:09
1
answer

How to display a list of images with path saved in the JSF2.2 + Primefaces 4 database

I'm having difficulty displaying images in a dataGrid using both the img and graphicImage passing the tags to the database path. Could someone help? I'm using tomcat 8. The last way I tried was this: No Bean: public StreamedContent ge...
asked by 26.10.2015 / 17:47
2
answers

Methods Running in Parallel

Hi. I think this is going to be a very simple answer, but it's something I still have doubts about how to do. Let's say I have a class PedidosListener responsible for reading a .csv file and storing the information in that file in a...
asked by 31.10.2015 / 04:20
2
answers

spinner change image cause error: Out of Memory on byte allocation

I have a normal spinner working perfect and I have the following code: import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.media.Image; import android.support.v7.app.AppCompatActiv...
asked by 30.10.2015 / 19:41
1
answer

Spring-Date JPA and Audit with update by @Modifying

Is it possible to audit an update operation with Spring-Data Auditing using the update via @Query and @Modifying annotations instead of using the save() method?     
asked by 19.01.2016 / 22:25
1
answer

How to show HashMap value?

I'm having a hard time showing (this may be using for ) the value of this HashMap. Does anyone know how? The console only shows this value:    {joao = [Ljava.lang.String; @ 2b05039f} I can not show the inner vector, String[] :...
asked by 04.10.2015 / 19:17