Questions tagged as 'java'

1
answer

connection refused when trying to consume an SOA Webservice using jax-ws

/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.controller; import java.io.Serializable; import...
asked by 19.06.2018 / 19:08
1
answer

Package Manager Android Studio

I just installed twpr and superSu Pro on a lenovo tablet A3300-vh I'm developing an app with android studio and I wanted to try it on the tablet but I skipped the following error. When I delete superSu completely by removing the root if it lets...
asked by 19.06.2018 / 19:43
0
answers

Is there any way to work with struts2 or servlets without restarting server?

Is there any way to be working on a java server, either with struts2 or servlets, and not have to restart the server every time you make a change in the backend? that is, let's say that I modify something in the BookBO class or in the ModifyB...
asked by 13.06.2018 / 17:36
0
answers

Is it possible for a child class to use attributes of its parent class in Java?

In my case I needed to use attributes of the parent class in the toString of the daughter class, being these private, it was not possible for me to do so. Is there a solution for this?     
asked by 13.06.2018 / 19:19
0
answers

Unzip .zip file (imag1, imag2, imag3) in Java

I find myself in how to unzip a zip that contains images, what I want to do is unzip the file and save the images of type [] to my BD. Help me, please.     
asked by 13.06.2018 / 17:45
1
answer

Servelts, jsp error return true

I'm doing a data maintainer in jsp, so for the user validation part I use servelts to make calls to mysql. In the servelts of consultas.java I have this (it is to do reedireccion 1 is admin 2 is standard): public boolean comprobar (Stri...
asked by 10.06.2018 / 21:05
1
answer

Problem when modifying the value of JTextField

I try to do a simple and simple calculator on my own, but I run into a problem trying to change the value of the JTextField by pressing a button. Here the code: Frame Class: public class Frame extends JFrame{ public Frame(){ setTitl...
asked by 13.06.2018 / 18:53
1
answer

How to validate the download of a file when there is no data, using spring?

I have the following method in the controller that passes parameters to a service method to do the query search, and the information is downloaded into a csv text file @RequestMapping(value= "/views/formulario", method = RequestMethod.PO...
asked by 10.06.2018 / 22:22
0
answers

how could printf be used to display a number of decimals according to a variable

int i = 3 ; //esto puede ser cualquier valor, que va a cambiar segun parametros que yo de double j = 23.65656846516844 // valor cualquiera con decimales System.out.printf( " %.(i)f", j ); What I would like to do there would be to use a% .if be...
asked by 14.06.2018 / 02:23
0
answers

Webview Javafx Problem with Odoo credentials

I am developing an application with java using JavaView WebView to have two browsers and with each of these browsers to connect to the same web with two different users. To create the browsers I created a Web Browser class that extends JPanel an...
asked by 14.06.2018 / 09:31