File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Oracle/OAS and the fly likes Null pointer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Null pointer " Watch "Null pointer " New topic

Null pointer

sandeep balyan
Ranch Hand

Joined: Jul 25, 2001
Posts: 134
Hi friends Iam using Oracle 9ias sever which hav Oracle Http apache webserver
Problem is this 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 ..
is there any way to overcoem this type of behavior..

Want to do something great will do one day
Beksy Kurian
Ranch Hand

Joined: Jul 11, 2001
Posts: 254
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.setDateHeader ("Expires", 0);
I agree. Here's the link:
subject: Null pointer
It's not a secret anymore!