Questions tagged as 'java'

0
answers

Component Not Rendered By Ajax

I have a form, where internally it has a h: message component and a h: inputText component, and I am submitting this form by default jsf ajax ... the problem is ... submitting the form ajax does not update the components it should update in...
asked by 01.08.2017 / 16:07
1
answer

Password Reset

I am making an app but I am having difficulty implementing the password reset option, I use a web server, I would like to know the best password reset option: 1) Secret question chosen by the user at time of registration; 2) Reset porting...
asked by 01.08.2017 / 18:31
1
answer

Working with object in javascript

Well I'm trying to understand how to work with an object that comes from my controller in javascript, I've already done some tests to make sure this information went up correctly for the view, but I did not understand how to work with this infor...
asked by 20.07.2017 / 21:26
1
answer

How to put a system contact in EditText?

I'm creating an application where the user will click on a EditText which will take you to the system contact list, where it will click and the name of the contact will appear in EditText . However, it is precisely to get this conta...
asked by 20.07.2017 / 23:20
1
answer

FTPClient in passive mode

I'm having trouble trying to connect to FTP. For FileZila, it works normally .... but when I try for this code, it generates the following exception: j ava.net.BindException: Can not assign requested address: JVM_Bind The error occurs when I c...
asked by 20.07.2017 / 21:06
1
answer

Transform curl http: // IP: PORT / sendLocalEvent? eventName = _evento in Javafx

I would like to make an app in javafx, when pressing a button it sends a command of type: curl http://IP:PORTA/sendLocalEvent?eventName=_evento to a server on the same network to start the _evento event. Would it be using httpUrlConnec...
asked by 22.07.2017 / 21:02
1
answer

How to put a success alert on a data entry via ajax?

I'm moving on a project in progress and what I need to do in it is to put an alert and refresh the page after inserting data into the database. The data is being inserted through a worksheet, that is, each item is a row in the worksheet that con...
asked by 23.07.2017 / 01:49
0
answers

Take action by clicking a button on another tab

I have two tabbed activity , I need a program to execute a code excerpt whenever a button is clicked on another tab , but this excerpt can not be static! How do I do it? Here is the code that has to be executed when the button is cli...
asked by 20.07.2017 / 12:57
1
answer

Rest Spring Server identifying a period as a regular expression

I have a Rest service with the following method: @RequestMapping(value = "/usuario/{login}", method = RequestMethod.GET) @ResponseBody public ResponseEntity<InputStreamResource> usuario(@PathVariable("login") String login, HttpSe...
asked by 20.07.2017 / 04:25
1
answer

How to use a ListView within a ScrollView

Hello, I'm trying to use a ListView inside a ScrollView. The goal is to work similar to other apps that do this, such as instagram and young nerd. Below my comment will be the code in xml and below it in java. Thanks <LinearLayout xml...
asked by 25.07.2017 / 01:04