Questions tagged as 'java'

1
answer

Pass a List as a parameter in web services RESTFul Java

Could someone explain me how to get a List as a parameter in a RESTFul Java webservices? I've tried in several places, but I still can not understand. Thanks in advance ! The code below is an example and how I did it in my actual code. In the re...
asked by 28.11.2016 / 14:42
1
answer

JSF - java.lang.IllegalStateException: This web container has not yet started

I'm developing a site in JSF but I'm new to Web and I do not understand very well how things work. The site is a crud of simple music and I make calls to other applications in jar that are in the library to sort the s...
asked by 27.04.2016 / 19:58
0
answers

Hibernate JPA hangs

When executing the persistence to generate the tables in the database, netbeans blocks the outputs in this    Oct 26, 2016 3:11:05 PM org.hibernate.dialect.Dialect INFO:   HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect I ca...
asked by 26.10.2016 / 19:16
1
answer

I would like to make a point limit for my game developed in android [closed]

I would like to make a point limit for my android game, for example: when it reaches 100 points it will open another blank screen saying for example congratulations! but I'm having a hard time doing this, can anyone help me? This is my main c...
asked by 09.05.2016 / 00:32
0
answers

Configuration jsp Template Using Apache Tiles with Spring

I made all the settings below but the template structure I created using Tiles is not being displayed on the main page along with its CSS. If anyone can help! tiles-config.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE til...
asked by 12.05.2016 / 01:29
1
answer

Java - Wait for a method to execute next instruction

I'm doing a CRUD application on Android for the college project. I'm using a ImageButton to select the image to save. The part of selecting the image and getting it stored is working well; but the photo in the view ImageButton does...
asked by 17.05.2016 / 21:44
1
answer

Tabbed Error Activity

Hello, I'll be as objective as possible: I created a project in Android Studio for "Tabbed Activity" - Action Bar Tabs By the Options app (Mouse right) New - > Fragment - > Fragment Blank I created a Fragment named "Page" In t...
asked by 14.05.2016 / 03:53
0
answers

Show user section in jsp and servlet pages [closed]

I have an application made in JSP and servlet that works as follows: Before viewing the content of the site the user has to do a login, I wanted to add the following function after the user log in successfully, display a welcome message, User...
asked by 27.03.2016 / 14:45
1
answer

Subquery in select clause with Criteria JPA

I was researching how to make a subquery in the select clause with Criteria of a select of this type: SELECT tabela1.*,tabela2.*, (SELECT MAX(tabela5.AtrDatatabela5) FROM .Tabela3 AS tabela3 INNER JOIN Tabela4 AS tabela4 ON tabela4.AtrId...
asked by 29.03.2016 / 14:23
1
answer

Problem storing java object on file

When I try to store an object in a binary file, the file with the .bin extension is created. However, when I try to access it by another class, it does not even try to open the file .bin that I recorded my object. How do I solve th...
asked by 30.03.2016 / 01:20