Questions tagged as 'java'

1
answer

JOIN of 3 tables +1 JDBC join table

I have a java program that returns the list of users who have a query on that day, so I built a database that lists some important data of the users, the name of the doctor with whom they will have a query and some such as the living room and th...
asked by 17.06.2016 / 12:28
1
answer

Connection with hibernate, error java.lang.NullPointerException

Connecting to hibernate I have an application where I made all the necessary settings to run the project following the company manual, it happens that I'm trying to open the same one related to the connection to the bank. My local bank has...
asked by 25.11.2016 / 21:06
1
answer

Error: unexpected type required

This code should invert a string given by the first argument, but has a compilation error public class ex4 { public static void main (String args[]) throws IOException { int strlength=length(args); InvertString(args, strle...
asked by 01.05.2016 / 03:37
1
answer

Tomcat external directory mapping

I have a javaEE application where I use Tomcat 8. In it, I mapped an external folder to save the images that the user can register in one of the screens of my application. For this, I went into the server.xml file of my tomcat and did the mappin...
asked by 24.02.2016 / 13:33
1
answer

Error opening link in Chrome and IE browsers

I'm using JavaMail to send link to reset password, however, when I click the link and it only opens in Firefox, I can not open it in Chrome and IE, only if I copy the link and put in the URL, why this? Is it the Exchenge's fault? Or development...
asked by 01.04.2016 / 16:47
1
answer

How to Mount a Jtable with ResultSet?

I have an example: Object rowData[][] = { { "Row1-Column1", "Row1-Column2", "Row1-Column3" },{ "Row2-Column1", "Row2-Column2", "Row2-Column3" } }; Object columnNames[] = { "Posição", "Nome", "Pontuação" }; JTable table = new JTable(rowData, co...
asked by 20.11.2014 / 18:05
2
answers

What technology to use to develop a Webservices for Android [closed]

I'm starting in the Android world and I've identified that for the application I'm designing, I'll have to follow a WebServices architecture using a Cloud platform database. The database I have already defined that will be MySQL. I have WebSe...
asked by 07.02.2016 / 00:18
1
answer

Save user profile photo while relogging on the system of a chat using socket

I developed a chat in Java using sockets where you have to choose a profile photo after login is done. My question is: How would I save this user-chosen photo and reuse it in a future login? Just as Facebook is when you put a picture, it ap...
asked by 20.10.2014 / 17:36
1
answer

Sending object to Android client, what to use?

I am developing an Android application that is a table of a football league with the results of the games presented in a list. As the games happen I register in a database and send the result to the clients on Android. Please note that cus...
asked by 31.10.2014 / 19:28
1
answer

Exception maven project

I'm using Maven in my project, I've already put some dependencies in my file pom.xml , but I think I can not download them. The exception being thrown: javax.faces.FacesException: Error loading theme, cannot find "theme.css" resource of...
asked by 01.06.2015 / 04:01