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 672721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:30:56+00:00 2026-05-14T00:30:56+00:00

Grails tends to write out the URL for everything that uses its tags as

  • 0

Grails tends to write out the URL for everything that uses its tags as /appName/whatever. For instance, if I use the tag:

<g:javascript library="jquery"/>

the resulting tag is

<script src="/appName/jquery/jquery.js"></script>

This causes an issue with using ProxyPass with Apache/Tomcat. All of my CSS, JS, Images and links have that /appName prefixed to them.

Is there a way to work around this with ProxyPass or possibly a way for Grails to not prefix the appName to the front of all of my URL’s?

  • 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-14T00:30:57+00:00Added an answer on May 14, 2026 at 12:30 am

    That works for me, are you trying to run the app as domain.com/ rather than domain.com/appName?

    If so, then you’ll probably need to specify the base or absolute parameter in the tag.

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

Sidebar

Related Questions

Grails uses mailService from Spring. That service is synchronous, which means if SMTP goes
The Grails framework has a lot of constructs/features that allows for adhering to the
Grails provides an isDirty method that can be called on domain objects. How would
Grails 1.3.1 spring-security-core 0.4 jQuery 1.4.x I need to figure out how to check
In Grails 2, we all know that a where clause creates a DetachedCriteria. Also,
Grails 2.0 changed with the way it uses grails.serverURL for development and test environments
Using Grails 2.0.0 I am created service, that creates instances of Player class and
Grails provides filters that run before your controllers. They're defined in classes that look
In grails, I have a Controller that expects a 'options' parameter that is sent
In grails if you want to map to particular HTTP methods you normally use

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.