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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:26:07+00:00 2026-05-25T11:26:07+00:00

Source code: <c:url var=images value=/images/ /> <link rel=icon type=image/png href=${images}myImage.png> In firebug, first hit

  • 0

Source code:

<c:url var="images" value="/images/" />
<link rel="icon" type="image/png" href="${images}myImage.png">

In firebug, first hit (the sessionid changes each time)

 <link href="/images/;jsessionid=05083AEAAE29DE81A5CB390407041282myImage.png" type="image/png" rel="icon">

Second hit (without clearing cache, if I clear cache it goes back to above)

<link href="/images/myImage.png" type="image/png" rel="icon">

So obviously the first time I hit website it looks bad as no resources are being loaded correctly.

Help please ?

  • 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-25T11:26:08+00:00Added an answer on May 25, 2026 at 11:26 am

    The jessionid part is the client session ID, and the first time you hit the page you’re likely getting a cookie, so that on the next time you hit the page it doesn’t need to be pushed into the URLs. Looking at the JSTL def’n for c:url, you should be giving it the whole URL, not a partial path, so this would be the correct approach:

    <c:url var="images" value="/images/myImage.png" />
    <link rel="icon" type="image/png" href="${images}">
    

    See also A JSTL primer, Part 2.

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

Sidebar

Related Questions

I'd like to select the image source url from html code using javascript regexp.
I have some source code to get the file name of an url for
Please consider this code snippet: var ul = $(.list_b).find(li).remove().end(); $.each(Sites, function (index, value) {
I wrote this code: function json() { var url=http://192.172.2.23:8080/geoserver/wfs?request=GetFeature&version=1.1.0&outputFormat=json&typeName=topp:networkcoverage&CQL_FILTER= topp:CELL_ID='410-07-301-31781' Or topp:CELL_ID='nnn'&callback=?; jQuery.getJSON(url,function(data){alert(Symbol: +
How can I parse this image with XDocument? <enclosure length=1234 type=image/jpeg url=http://asd.com/media/picture/1/80/71/3223wee.jpg /> my
source code ... Thing is, if i specify required metadata using fluent modelmetadata provider
[Source Code] data FooBar = Foo | Bar [Command] $ ghc -c foo_bar.hs foo_bar.hs:1:0:
My source code needs to support both .NET version 1.1 and 2.0 ... how
Can source code examples be kept in a SQL database while retaining all formatting
Reading source code of sample projects, such as Beast and Bort, are recommended as

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.