Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6125639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:16:16+00:00 2026-05-23T16:16:16+00:00

I implemented not usual architecture for Grails app because I made front controller which

  • 0

I implemented not usual architecture for Grails app because I made front controller which only forwards requests further (based on some criteria). I also implemented locale resolver as a http servlet request filter. And it turned out that forwarded request passes again through filter chain. So flow looks like this:

  1. A request arrives to grails app
  2. The request passes through my filter
  3. The front controller gets the request and forwards it further
  4. The forwarded request passes again through my filter
  5. A back controller gets the request

In the mean time of writing this post I’ve come up how to omit the problem (my implementation specific). But still I’m curious why does it happen? Forward should work behind the scene. Java EE spec doesn’t say anything about this behaviour (forward javadoc).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:16:17+00:00Added an answer on May 23, 2026 at 4:16 pm

    In the <filter-mapping> element there is the forward <dispatcher> option. It includes FORWARD. You’d have to list the options you want the filter to be applied to (request, error, include) and leave out forward.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to call a callback method that may or may not be implemented
I implemented a small OOP library in Lua, and two things are not quite
Git is implemented as a directed acyclic graph. Children know their parents but not
I am trying to implement NOT NULL constraint in the customer table which is
In my app I currently have a popup menu implemented as a BorderContainer with
. Hello guys, Consider the usual scenario of Prism (WPF/Silverlight) in which we've multiple
My problem is not usual. Let's imagine few billions of strings. Strings are usually
How come http://www.zolomon.com/wptj/wp-content/themes/default/polaroid.swf works perfectly but not when implemented at http://www.zolomon.com/wptj/?page_id=8 ? The code
As we do not implement the users of our applications as users in SQL
The Version class in .Net does not implement the CompareTo interface as I would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.