Search:

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

Search: Search took 0.02 seconds.

  1. @Cacheable causes error in resolving @RequestMapping

    Hi,
    In my application I am having a @RequestMapping("/*/Home"). This used to resolve perfectly before I started using @Cacheable. I am confident that my cache settings are fine. If I remove the...
  2. If an exception occurs in any of the controllers,...

    If an exception occurs in any of the controllers, then postHandler will not be called. I have an ExceptionResolver which catches the exception, but its output won't pass through the postHnadlers. Is...
  3. Replies
    10
    Views
    1,338

    I need to add content to the response. Am I...

    I need to add content to the response. Am I missing stth here?
  4. Replies
    10
    Views
    1,338

    Precisely this is what has been achieved:...

    Precisely this is what has been achieved:
    Currently there is a single interceptor whose postHandle adds a list of string to the webpage. This list of string depends on the environment in which the...
  5. Replies
    10
    Views
    1,338

    I have been able to handle all the non-specified...

    I have been able to handle all the non-specified mappings while ensuring that the interceptors are called, by creating a dummy method in a controller with RequestMapping as "/**". This way all the...
  6. Replies
    10
    Views
    1,338

    I am already using HandlerExceptionResolver. My...

    I am already using HandlerExceptionResolver. My use case is that irrespective of what happens inside a controller, the postHandlers should be called. I understand that for this I need to handle all...
  7. Replies
    10
    Views
    1,338

    Thanks for the reply. Could someone please...

    Thanks for the reply.
    Could someone please clarify if afterCompletion is called after postHandle of all the interceptors have been called or immediately after the postHandle of an interceptor is...
  8. Replies
    10
    Views
    1,338

    Spring MVC Exception handling

    Currently I let my exceptions to bubble up and be captured by a class which extends HandlerExceptionResolver. The issue is that due to this approach the post handlers of different interceptors are...
Results 1 to 8 of 8