Search:

Type: Posts; User: cgendreau; Keyword(s):

Search: Search took 0.02 seconds.

  1. So I should do my mapping like that: ...

    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...
  2. Suggested way to add support for file extensions in the request URI in Spring 3.2

    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...
  3. Replies
    0
    Views
    194

    Spport for request method 'HEAD'

    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={"/"},...
  4. Replies
    2
    Views
    676

    TaskExecutor with transaction support

    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...
  5. yes, it looks like this. I'm now using...

    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.
  6. I have compared the 2 Query objects and the only...

    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...
  7. OutOfMemory using HibernateCursorItemReader

    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...
  8. Locate Spring NamespaceHandler for XML schema namespace in a jar with a lib folder

    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...
  9. thanks for the hint! This code works for setting...

    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...
  10. After a look at skipSampleJob.xml and a couple of...

    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">
    ...
  11. Not able to pass data from a Tasklet to my reader using ExecutionContextPromotionList

    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...
Results 1 to 11 of 11