• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while loading static content

 
Rajeev Ja
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!