Results 1 to 2 of 2

Thread: LocaleResolver

  1. #1
    Join Date
    Aug 2009
    Posts
    1

    Default LocaleResolver

    I have created a custom LocaleResolver, and was noticing in the log that it was being executing multiple times (>10) per request. Is this the normal behavior or am I doing something wrong?

    It is working correctly not causing any issues, but I was surprised to see multiple invocations in the logs.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    There are several parts of the framework needing access to the Locale and basically they all delegate to the LocaleResolver...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •