Posts by Wallace Espindola • 1 point
2 posts
-
0
votes2
answers452
viewsA: Comparison request.getParameter with JSP string
Never use == to compare string in Java. The == is used to compare references in memory, equating the . equals() is used to compare the values themselves, but remember that possible…
-
-1
votes1
answer30
viewsA: How to render name or social reason according to type
There is a more elegant solution to this, which would be solved in your modeling through inheritance/polymorphism, you could model a super class, for example the class Person, taking as subclasses…