This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Reset Array content

Mayank Adhikari

Joined: Nov 17, 2012
Posts: 12
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: 62135

Please do not post the same question more than once.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Reset Array content