So I should do my mapping like that:
@RequestMapping(value="/page{extension:\\.(?:json|xml)}", method=RequestMethod.GET)
I read the ContentNegotiationManager reference guide and the javadocs...
Type: Posts; User: cgendreau; Keyword(s):
So I should do my mapping like that:
@RequestMapping(value="/page{extension:\\.(?:json|xml)}", method=RequestMethod.GET)
I read the ContentNegotiationManager reference guide and the javadocs...
I'm a little bit confused about how I should implement this in Spring Web MVC 3.2.
What I want to do :
page.json -> json response
page.xml->xml response
page.html -> FreeMarker template to...
I was wondering if there is a final solution (decision) on how we should add the HEAD request default behavior to a controller.
@RequestMapping(value={"/"},...
Hi,
I have a @Service class handling calls from a @Controller in a Spring MVC project (Spring 3.1). Some requests could ask for a long running task. I want to run the task asynchronously in a...
yes, it looks like this.
I'm now using HibernatePagingItemReader since it's closer to want I'm trying to do.
I have no problem with this reader so far.
I have compared the 2 Query objects and the only differences are in the session Object.
transactionCoordinator Object:
-ownershipTaken : false in HibernateCursorItemReader and true in the...
Hi there,
I have a table with ~140 000 rows and each records are relatively big.
So, I want to use a HibernateCursorItemReader to read them in chunk of 500.
My code is:
<b:job...
Hi,
I had the following error when trying to execute my Spring Batch project jar file :
15:34:38,673 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource...
thanks for the hint!
This code works for setting the data into the ExecutionContext.
I still need an ExecutionContextListenerPromotionList and a @BeforeStep annotation to retrieve my data inside my...
After a look at skipSampleJob.xml and a couple of tests, it looks like I need an ExecutionContextListenerPromotionList AND a bean representing my listener.
<step id="step1" next="step2">
...
First of all, I'm quite new to Spring and Spring batch so it's probably just something that I don't understand.
My problem is that I'm not able to pass data from a Tasklet to my reader using...