All Questions

1
answer

Read file and write .txt files in C language

The following is to see what is my failure to write a code because I know that there is interaction (reading) between the program and the .odt file, which is the case that I tried, but I bring the text in strange symbols and not in letters. In...
asked on 19.04.2017 / 17:00
4
answers

show query result Spring java in the view

Vista: <body> <p>Hola bienvenido</p> <c:forEach items="${datos}" var="dato"> <c:out value="${dato.ID}"/> </c:forEach> </body> Connector: (the connection works) public Drive...
asked on 01.04.2017 / 03:35
4
answers

How to replace tags with JavaScript?

I want to replace specific tags by using JavaScript. The labels I want to replace are these <!-- and --> . Between these two labels I have code that will be executed when the page is fully loaded. This is my code: func...
asked on 16.03.2017 / 05:20
2
answers

IF conditional in SQL query

I am developing a Java web application in NETBEANS and I have a query which shows numerical values only, when I execute my query it shows them in an organized table, everything works perfectly. What I want to do are 3 conditions "IF" with the...
asked on 17.04.2017 / 16:46
4
answers

Is there a way to summarize all these else if?

Good, I'm with a project where a function checks if a ball touches a wall, which is an array of 15 "portions" with each 50u of size. I need to know what part of the wall it touches and for that I have done the following, but it is exaggeratedly...
asked on 14.04.2017 / 17:42
1
answer

Is it possible to clone a Date in Javascript?

Is it possible to clone a Date() in Javascript ? That is, from a date variable, create another variable that has the same date. In the following code you can see that when comparing fecha_1 and fecha_2 it gives false...
asked on 20.03.2017 / 10:10
4
answers

Delete text after ==

A requirements file pip contains all the packages installed in Python, so that the file can be used elsewhere and rebuild the original programming environment. A requirements file looks like this: alabaster==0.7.9 arrow==0.8.0 awesome-slu...
asked on 10.03.2017 / 19:26
2
answers

Case mysql error

SELECT count(*), CASE count(*) WHEN >=0 then Esta vacio end FROM producto By putting this query I get the error #1064 - Algo está equivocado en su sintax I have been reading online and I can not find the solution to this problem   ...
asked on 26.04.2017 / 09:16
2
answers

call a method in an Android activity

public void onDateSet(DatePicker view, int year, int month,int day){ String date = day+"/"+(month+1)+"/"+year; Activity1 act1 = new Activity1(); act1.MostrarDatos(date); } As you can see I want to run a method of the first activi...
asked on 20.12.2016 / 23:37
3
answers

Change the color of a TextView to only certain characters

I have this TextView : <TextView android:id="@+id/textView17" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:text="Lorem ipsum dolor sit amet,...
asked on 01.06.2017 / 10:44