Posts by MatheusEdnei • 68 points
9 posts
-
0
votes0
answers30
viewsQ: Shutdown python socket server by pressing CTRL+C
I have a server program using a python socket that has two threads: the Accept thread, responsible for accepting new connections from clients, and the clientThread thread, responsible for handling…
-
0
votes1
answer25
viewsA: Changes to JSP code for HTML only
To use the bootstrap on your jsp page you must import it through the link tag. At the beginning of your JSP put: <link rel="stylesheet"…
-
0
votes1
answer418
viewsA: Print prime values contained in an array
You need to do a for to list all the elements of the list 4 and, within that, create a new loop to check if the number in question is a prime number (increasing the number of divisors). After this…
javaanswered MatheusEdnei 68 -
0
votes1
answer109
viewsA: I’m running a program to compare and search specific files
To check if there are files with a specific extension you can use the contains() function within the range where you list your files, this way: for(File file:diretorio.listFiles()) {…
javaanswered MatheusEdnei 68 -
0
votes0
answers87
viewsQ: Cookies not saved - Javascript
I am trying to save a user’s name through cookies, but for some reason these cookies are not saved. I am using tutorial of W3schools, but even creating my code like theirs, it doesn’t work. Here is…
-
1
votes0
answers122
viewsQ: How to style a table with first column horizontally and header fixed vertically
I’ve had a problem for two days, and I can’t fix it. I need to create a table where the first column is fixed horizontally, but allows moving vertically, and the header is fixed vertically but…
-
0
votes1
answer215
viewsQ: How to pass data through an Intent to Main Activity?
I’m developing a small android app to exercise what I’ve already learned. The application consists of two Activity’s, Mainactivity and a second Activity. On Main I have a textView and a button,…
-
2
votes2
answers161
viewsQ: How to remove column fields from a regular expression select?
I need to use a regular Javascript expression to know which columns are passed in a query select. For example: passing "SELECT nome, sobrenome FROM table" the expression would return to me…
-
2
votes1
answer126
viewsQ: I cannot receive the values of a PHP form via POST
I’m having a problem in a php form that I don’t know how to fix. I have a file called login.php that contains a form that sends the data via POST to the.php data file. In the.php data I do the…