Questions tagged as 'java'

0
answers

How do you generate an android module .jar?

Hello, I have an android application with a module and would like to transform it into a .jar to be reused in other projects. How do I do this?     
asked by 06.12.2018 / 19:39
1
answer

Permissions Spring Security

I'm having problems with user permissions using Spring Security. Signing the user assigns him the permission that is due to him, however when accessing the system the option in the menu that the user would have access does not appear. Here's...
asked by 07.11.2018 / 18:30
0
answers

Execute an action automatically when opening app [closed]

I'm working on developing an app and I'm having a question, I need my app to take an action when opening it. Can someone tell me how I can do this? I already looked for it and I do not think anything about it.     
asked by 28.12.2018 / 13:16
0
answers

How to consume a SOAP Web Service in Java that requires User and Password?

I'm trying to consume a SOAP web service using the NetBeans IDE (JAVA), but when I try to compile a list it returns null. Talking to a colleague, he told me that it is a lack of the network user and password of the company I work for, but I a...
asked by 29.10.2018 / 04:04
1
answer

How do I keep the same object between requests in Spring MVC?

I'm trying to add items to the same Request object dynamically, but I'm always instantiating a new Request. @GetMapping("/novo") public ModelAndView preSalvar(@ModelAttribute ("pedido") Pedido Pedido){ List<Produto> produtos= produto...
asked by 20.10.2018 / 23:27
0
answers

Java web, jstl: How to execute a method in the servlet when exiting an input text ex: "check if the availability of name to register"

How to execute a method when exiting a input text. Example I will make a registration at the moment of registering as a user I want to check if that name is available to be used, being that it can not accept repeated users, to avoid that...
asked by 20.12.2018 / 17:08
1
answer

Add JSONObject in ListDiscipline

I'm having problems when I add data to a List. I have the following code that takes the return from a JSONObject and adds it to a List. Then I move to InicialAdapter.java DisciplinaTask asyncTask = (DisciplinaTask) new DisciplinaTask(ne...
asked by 14.12.2018 / 19:36
0
answers

Problem with sockets when closing client: java.net.SocketException

Hello, good morning, good afternoon or good evening, I'm having a problem, with a system I'm creating, thank you to anyone who can help. So, this system basically passes a "protocol" to the servers and it returns an object, and vice versa, howev...
asked by 20.12.2018 / 02:51
0
answers

Returning amount of Sqlite records and displaying in TextView

I have an application and I need to display in%% of the amount of records stored. public int contagem(){ createBank = new CreateBank(this); connecting = createBank.getReadableDatabase(); String cursor = "SELECT * FROM "+TABELA;...
asked by 24.10.2018 / 20:27
0
answers

Problem to update data

Good morning friends, I'm about 3 days with difficulties in an error that has been occurring in my application. I have two entities, CLIENT and VEI. I did the mapping bidirectionally saying that my client may have one or more vehicles. priv...
asked by 31.10.2018 / 16:50