Questions tagged as 'spring'

1
answer

Consuming REST on Wordpress

Good morning! Implemented a Rest API with Spring and would like to consume it on a website within Wordpress. Is this done through Plugins or Direct with code inside the Post? For a Post Request, how would you link a form's data in the h...
asked by 19.05.2017 / 16:21
1
answer

Spring mvc bootstrap

asked by 19.05.2017 / 03:37
1
answer

Spring Security 4.2.1.RELEASE + SSO CAS (jasig 4.0.3)

I'm using CAS (Jasig) with three applications, when I log out of one of the applications I end the session of the same and the CAS, but if I access another application that was already a session open via URL, the session stay alive How do I kill...
asked by 08.05.2017 / 22:08
1
answer

How to make a method in the Spring controller that does the same as this method of a servlet?

This code returns a json for an html page that uses an ajax feature to load a Google API chart I would like to do the same but using a Spring controller! public void doGet(HttpServletRequest request, HttpServletResponse response)...
asked by 12.05.2017 / 02:44
1
answer

How to write this bean xml using java?

<bean id="templateEngine" class="org.thymeleaf.spring4.SpringTemplateEngine"> ... <property name="additionalDialects"> <set> <!-- Note the package would change to 'springsecurity3...
asked by 28.04.2017 / 21:22
1
answer

Error nullpointer when doing query in the bank with parameter

When I run the query below I have a nullPointer error. @Query(value = "SELECT * FROM x WHERE USER_NAME = :name", nativeQuery = true) DataBaseCobilling findByCdIdent(@Param("name") String name); But when I run this one it works: @Query(val...
asked by 21.03.2017 / 15:24
0
answers

When I run Update eclipse to run

When you get to the part that executes the following query, the system stops and does not proceed to the next line. @Query(value = " UPDATE COOBILING_NUMBER SET CONDITION='Used' WHERE NUMBER_PHONE= ?1", nativeQuery = true) public void update(S...
asked by 21.03.2017 / 21:48
1
answer

Filling and submitting forms with Spring MVC and JSP

I'm starting Java Web , developing a stocking system following the Caelum Java applet for Web. All front-end and the persistence layer have already been developed with only the control integrating the two, but I have a lot of doubts...
asked by 07.03.2017 / 17:53
1
answer

Problem to persist data in bank

follows the error I'm having at the moment of persisting the data: 09:19:29,437 ERROR [io.undertow.request] (default task-7) UT005023: Exception handling request to /sic/usuario/salvar: org.springframework.web.util.NestedServletException: Han...
asked by 07.03.2017 / 14:14
0
answers

Saving Dynamic Data in the Same Java Entity

I'm using Spring MVC, thymeleaf and for me with all built routes it did automatic but not working, entity, repository, controller and etc. I have a relationship of N = N of course to shift, from that relationship created the course table to t...
asked by 21.02.2017 / 12:39