Posts by rhenesys • 138 points
10 posts
- 
		0 votes1 answer69 viewsA: print Map Object results with JSTL/JSPAre you sure your map has the values being passed to jsp? Not seeing your Servlet code makes it harder. Theoretically it would be like this in Servlet: protected void doGet(HttpServletRequest… 
- 
		0 votes1 answer87 viewsA: Doubt which variable to pass from my SelectYour m.COD_EQUIP should receive the value ' because it seems to me that this is where the code is defined. You would have to call the value of this input by the id/name. I recommend avoiding… 
- 
		0 votes2 answers221 viewsA: JAVA - Skips the input of one of the variables and terminates the codeYou would have to post the Product class too and you could insert the whole operation into a block try...catch to see if there are any specific errors regarding the input. But the problem is in the… 
- 
		1 votes1 answer29 viewsA: I lost files with extension . javaYou could try using one bytecode editor or java Decompiler, but it will depend on your knowledge to reverse everything. If the project isn’t too big, I would recommend starting from scratch and… 
- 
		0 votes1 answer79 viewsA: Set the value of a get(); on a mapIf you want this value inside your map, without modifying the map, you could simply add a field to the class FileVO: public class FileVO{ private String ipOrigem; //outros métodos bla blu public… 
- 
		1 votes2 answers183 viewsA: How to check if the entered option is among the valid optionsThe problem lies in choosing your logical operator. Replace OR with AND: if tipo_da_carne.lower() != "f" or tipo_da_carne.lower() != "a" or tipo_da_carne.lower() != "p": Leaving: if… 
- 
		0 votes1 answer36 viewsA: Function does not modify the Matrix after the second call!Python arrays are passed by reference, that is, the modifications made in a function are passed back to the matrix definition we made outside the scope of the function. An example: matriz = [[0]*3… 
- 
		2 votes1 answer58 viewsA: My Java Object is not persisted with all its XML attributesYour class Grupos also needs the JAXB notation for the XML to be applied to the lower nodes, since you want a list of objects. Assuming a Groups class that will keep a list of objects in the Group… 
- 
		4 votes2 answers507 viewsA: Zero left on RHere there are a few options. You could use: b <- 01 paste0("0",b) or: formatC(b, width=2, format="d", flag="0") which results in: [1] 1 [1] "01" [1] "01"… 
- 
		1 votes1 answer174 viewsA: Change font TextviewAlways post the code. How are you trying? Something like this would solve: val textView: TextView = findViewById(Rep.id.android_text) as TextView textView.setOnClickListener { textView.text =…