A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Clearing content of an 2D array
Joined: Nov 17, 2012
Dec 06, 2012 00:15:33
I am using a dynamic 2D Array in my
page and i want to clear the content of this array on refreshing teh page. But its showing me the old values.
Can some one suggest me how to clear teh content from an array in jsp page.
My Array: statBowList
Author and ninkuma
Joined: Jan 10, 2002
Dec 06, 2012 08:44:49
AS the only things in a JSP are what you put there, simply do not populate the JSP with what you don't want.
Of course, you should not be putting
code into a JSP at all. That's an obsolete practice from over 10 years ago.
Asking smart questions
Books by Bear
It is sorta covered in the
JavaRanch Style Guide
subject: Clearing content of an 2D array
Displaying 2D array using data tables
getting 2D array view in jsp from actionform properties
Finding number of a rows in a resultset...
Illegal State Exception
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014