• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Error while loading static content

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have created a template jsp with header and footer.The body content will be a static content(html) that will be coming from web server.For that i have used c:import tag to retrieve from web server.Now the problem is we are having a old site eg.http://www.abc.com user will click a link in old site it is redirecting to our new site http://www.abc.com so our browser will set a cookie.So each time when i make a request it will go to new site untill the cookie is deleted.

Now my c:import tag is giving file not found exception is that because when application server makes a request cookie will not be set and it will redirect to old site there my htmls are not there and throwing this exception.

Please give clarification if my understanding is correct.
 
Rajeev Ja
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I SOLVED ITTTTTTTTTTTTTTT
 
reply
    Bookmark Topic Watch Topic
  • New Topic