Questions tagged as 'java'

0
answers

Fill Delphi dataset from Java array

I have a concern: can I fill a Dataset in Delphi from an array generated by Java, without the need to cycle (for, while)? For example: A GET method returns me as an answer:    (([], 'N', True, nil, False, 17, 22386, True, 'INTERESTS SERVIC...
asked by 15.02.2017 / 20:32
1
answer

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsException:

My servlet: <context:component-scan base-package="com.tricas.controllers" /> <mvc:annotation-driven /> <context:annotation-config /> <context:component-scan base-package="com" /> <bean class="org.springframework.we...
asked by 15.02.2017 / 15:26
1
answer

Sharing audio file in whatsapp only transfers the first second

My problem is as follows. I generate an audio file (.wav) from my application and share it through an intent .. but by doing it via whatsapp only 1 sec of audio is sent. When the email is sent correctly, the complete file is sent. Any idea...
asked by 29.01.2017 / 02:20
1
answer

MongoDB extract information and create object

public void BuscarPorfecha(String fecha) { BOE boe = new BOE(); List<BOE> lista = new ArrayList<BOE>(); int i = 0; MongoCursor<Document> cursor = collection.find(eq("fecha", fecha)).iterator(); while (cur...
asked by 03.02.2017 / 17:25
1
answer

Problems with doing maintenance on java spring

I try to incorporate a simple maintenance "Add users" to a project with spring security but I get these errors, I'm guiding myself on another project but it works with ldap type Informe de Excepción mensaje Servlet.init() para servlet mvc...
asked by 02.02.2017 / 17:39
0
answers

Save entity in two-dimensional matrix

I'm doing an app on Android that should show some information about the inventory of different stores, to access the bd I use a web service (I use a stored procedure but I do not have permission to manipulate this information) and already in the...
asked by 02.02.2017 / 15:20
2
answers

Message Dialog - Jtable

First I select two rows or more of a JTable and when I record those selected rows, I get several messages "" The Document "+ doc +" was requested correctly "", (doc is the name of the document), and so on the documents that have been recorded co...
asked by 01.02.2017 / 17:17
1
answer

access to .properties file in .war file deployed in weblogic 12c

I have a file .properties in which I send certain parameters so that certain functions are executed in my application. What I would like to know is: Is there any way to access this .properties file, edit it and save it, without having to a...
asked by 02.02.2017 / 13:18
0
answers

Insert a record in 2 related tables

String cod,mod,cat,des,pre,stock; String sql=""; cod=txtcod.getText(); mod=txtmode.getText(); cat=cboCateg.getSelectedItem().toString(); des=txtdes.getText(); pre=txtpre.getText(); stock=tx...
asked by 02.02.2017 / 05:28
1
answer

Work with a serialized object extracted from a file.ser in Java

Good afternoon. I am a beginner in Java and I am working right now with the storage of objects in serialized files using the methods of class Object ( ObjectInput and ObjectOutput ). When I save the object I do not have...
asked by 07.02.2017 / 18:57