my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60748

Please do not post the same question more than once.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Don't get me started about those stupid light bulbs.
subject: Reset Array content
Similar Threads
jsp page redirection
Refresh problem
Refreshing a page before forwarding
Automatic Refresh for a specific value
Clearing content of an 2D array