Questions tagged as 'java'

1
answer

How to perform form search using ajax?

I'm implementing a web application and I already have the full CRUD and search implementation. But I want to use ajax to make the system more efficient and implement the search of registers in the bank using ajax. I started implementing but it i...
asked by 14.07.2017 / 21:06
0
answers

Error sending data to Firebase

Good afternoon, I'm developing an application and I'm having trouble sending the data to Firebase ... I created a Cadastre screen where you have the email field, password and name. I imported the gradile compile equal to the firebase document...
asked by 10.07.2017 / 21:32
0
answers

What are Specifications, Frameworks and Interfaces? [duplicate]

Recently I started to study and research a bit about Java EE, and some of the terms that appear the most are: Specifications Frameworks and Interfaces I read a few things about it, but I'm still confused. Does anyone explain in a si...
asked by 02.08.2017 / 21:26
0
answers

Highcharts JSP AND JAVASCRIPT

Good morning I'm doing a chart using the Highcharts library, I implemented it statically to run the tests, but now I need to pass the database information to it. I have read and saw that there are several ways, by XML, by Json. I wanted to know...
asked by 03.08.2017 / 15:10
2
answers

Send email by java

I'm trying to send email via java but I'm having an error with smtp. My code: try { SimpleEmail mail = new SimpleEmail(); mail.setFrom("[email protected]", "Teste"); mail.setSubject("E-mail exemplo");...
asked by 03.08.2017 / 16:34
0
answers

Connect to the database dynamically by the repository class of the Spring project

I need to connect to the database dynamically, where the database connection data can be passed by parameter, below is a sketch of how I need to connect and execute the query. This code sketch below does not work when I run on my server....
asked by 02.08.2017 / 23:03
3
answers

When I roll my listView I lose the checked checkboxes

This is a code from my adapter, in it I have a textview and 4 chekboxes. The problem is that I believe I have to save the status of my checkboxes, so as not to lose their data, because when I roll my list view my checkboxes uncheck them alone....
asked by 03.08.2017 / 01:38
0
answers

nfe query in Java

I want to make a form with the access key field and the captcha code to fill in. Soon this data will be sent to the NFE portal and will return the NFE information to me. The captcha already managed to make it work on my form, I just can not...
asked by 06.07.2017 / 15:44
0
answers

List 5 objects in a List

I'm setting up a panel that should show 5 products, for example, in the index of a page, however I can only load all the objects that are saved in the DB, and I can not think of a way to do this, , by DAO, loading in a class or even on the front...
asked by 07.07.2017 / 07:30
1
answer

Android calendar for weeks and months

I'm working with calendars on Android. The goal is to show the calendar for weeks and months . But the calendar I'm using only allows me to view month . xml code <android.support.constraint.ConstraintLayout xmlns:andro...
asked by 01.08.2017 / 12:39