Posts by danieltc07 • 62 points
7 posts
-
0
votes1
answer54
viewsA: How to use Interceptor in Spring?
Friend, I suggest using the default setting of Spring Security extending the class Websecurityconfigureradapter. Take a look at this tutorial from the link below, it is quite complete:…
-
1
votes1
answer524
viewsQ: What does a SNAPSHOT version mean?
A version SNAPSHOT would be similar to a BETA version? Work with Maven and by default he creates the Wars files like MeuProjeto-0.0.1-SNAPSHOT.war. If my version is not yet a version 1.0.0 what is…
-
1
votes1
answer27
viewsA: AJAX request not working
There are some things you can change there: You are making the AJAX call as "GET" but it is receiving in php as POST ($_POST['line']...), you have to define if you will work with GET or POST;…
-
1
votes1
answer218
viewsQ: Simplest way to create circular array in Java
I’m looking for a more streamlined (clean code) way to create a circular array in Java. For example, given the following list: ArrayList<String> lista = new…
-
0
votes2
answers52
viewsA: How to read the {1x2} JSON Jquery key
This key is a String, so you can use as a basis one of the examples below: //Usando jquery json parser var obj = $.parseJSON('{"name": "", "skills": "", "jobtitel": "Entwickler", "res_linkedin":…
-
-1
votes2
answers172
viewsA: How to access an attribute in a Java Arraylist?
Yes, you can do this using Java reflect. Use the Field.setAccessible(true) command if you are accessing from a different class: import java.lang.reflect.*; class Other { private String str; public…
-
0
votes1
answer172
viewsA: Validation Bean Is Not Validating
It seems to me a problem of configuration of spring Validator, try to change the settings as below: Configuration by xml: <mvc:annotation-driven /> <bean id="validator"…