Questions tagged as 'java'

0
answers

Problems with SelecOneMenu of primefaces

When I create a drop-down list with SelectOneMenu of primefaces and execute, when I select a value from the list and by keyboard I press the insert key, the list is updated and shows the default value and not the selected one. If I change the...
asked by 05.06.2018 / 14:39
1
answer

Error 500 jsp Help

votar en contra accept <label required>Departamentos</label> <select class="form-control" onchange="buscarProvincia(this);" id="nIdeDptoNac"> <option value="${cmb.nIdeCompendio}">-...
asked by 31.05.2018 / 16:14
2
answers

Can I call classes in JavaFX that create objects?

I've been stuck for a couple of days, because I would like to know if the methods that I have in my main JavaFX class that create HBboxes, Panels, etc., could take them to an external class in order to have everything more organized, but the way...
asked by 31.05.2018 / 09:49
0
answers

How to move with the keyboard a figure created by code?

I created in Java a bitmap image that I want to move using the arrows on the keyboard. The image is saved inside a panel, do I have to move that panel? Or as I do because all the tutorials I see come with variable dimensions and my figure is not...
asked by 31.05.2018 / 02:41
0
answers

Problem when updating an image path (Java - MySQL) - Skip the "\"

I am updating a record in a database, when loading the user I am placing the path of your photo in a hidden TextField, but when updating the record, you are saving the path but without the "\" (see image) ). For example, save the path like th...
asked by 31.05.2018 / 15:26
1
answer

Unknown error

These are my XML files: -Client.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd"> <sqlMap namespace="Cliente">...
asked by 02.06.2018 / 17:25
0
answers

How to pass data from two Jtables to a form?

I want a form to be fed from two tables but it happens that I select the data of a table and when selecting those of the second, the ones of the first one are deleted ... my selection code is the following for one of the tables: Location ub = ne...
asked by 02.06.2018 / 17:46
0
answers

How to generate Test for my Odata project

This is the method to try: (how to generate mock data for UriInfo) public EntityCollection getEntitySet(UriInfo uriInfo) { logger.info("getEntitySet()"); List<UriResource> resourcePaths = uriInfo.getUriResourceParts(); UriR...
asked by 02.06.2018 / 12:18
1
answer

How to call a java method from a button in jsp, help please!

Hello good afternoon friends, I hope and they are well, previously I had already asked in another occasion and because here I will write it again not to cause confusion, I have this java code that later I put it in a method that I did public...
asked by 30.05.2018 / 17:33
0
answers

Inheritance between jpanel (problem of returning data)

I'm trying to inherit from jpanel2 extends JPanel towards the jpanel extends JPanel. but when it comes to inheriting and doing everything, I recognize the variable and everything, but when I click, it does not return anything else that I have pr...
asked by 01.06.2018 / 00:39