• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Null pointer

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends Iam using Oracle 9ias sever which hav Oracle Http apache webserver
Problem is this ..in jserv..
Iam running my jsp ..if i refresh it number of time it start giving null pointer exception..
and what i do i ..just delete classes from -pages folder it starts working fine..so ..
is there any way to overcoem this type of behavior..
regds
sandeep
 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If this is related to browser caching, this may be the way to fix:
The new file isn't loading because the browser is using the older one stored in a cache.
1) go to Internet options and turn the length of days to keep files in your history to zero.
2) go to 'Advanced' and check the box where it says 'Empty Temporary Internet Files folder when browser is closed'.
And I suppose you are using no-cache statements in your jsp
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
response.setDateHeader ("Expires", 0);
Regards
Beksy
 
reply
    Bookmark Topic Watch Topic
  • New Topic