Meaningless Drivel is fun!
The moose likes JSP and the fly likes Reset Array content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Reset Array content

Mayank Adhikari

Joined: Nov 17, 2012
Posts: 13
Hi All,

I am using a dynamic 2D array in my jsp page. I want to flush out the contents on reset/refresh of the jsp page.
But on reset/refresh its againg showing me the old values.

Can some one suggest me how to reset the array content.

Array: statBowList[][]

**I dont want to use for loop to assign the values to null.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Please do not post the same question more than once.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Reset Array content
It's not a secret anymore!