• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Cookie not set

 
Ranch Hand
Posts: 233
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pretty much sure this code works on production server, not on localhost. Checking in firefox storage, nothing. Any idea ?

 
Miran Cvenkel
Ranch Hand
Posts: 233
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the problem was response.isCommitted() being true
caused by flush = true
 
Miran Cvenkel
Ranch Hand
Posts: 233
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
still strange I did not t change that flush code on workig server and there it works. Maybe tomcat6 vs tomcat8 = work/does not work .....
 
Saloon Keeper
Posts: 12605
273
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be happy you could produce a problem on your development machine. I usually have the opposite problem where an issue appears on a production machine, but not on my development box.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic