Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 6th, 2005, 04:05 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 119
Thanks: 0
Thanked 1 Time in 1 Post
Default For Loop help needed - looking at this too long

In the following for loop I am overwriting the String[] paramValues variable each time I am going throw this for loop. Can someone please point out or give me some direction on what I'm doing wrong? I've been looking at this too long and would appreciate another set of eyes.

Regards. Here is my code:

Code:
String[] paramNames = link.getParameterNames();
String[] paramValues = new String[paramNames.length];
for (int i = 0; i < paramNames.length; i++) {
    paramValues = link.getParameterValues(paramNames[i]);
}
 
Old December 6th, 2005, 08:26 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 119
Thanks: 0
Thanked 1 Time in 1 Post
Default

I got my problem resolved.

Thanks anyway.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Long Long int to bin walid C# 0 January 23rd, 2007 12:47 PM
Use of long long int jvanp C# 2005 2 September 20th, 2006 06:07 PM
Use of long long int jvanp C++ Programming 7 October 3rd, 2004 01:59 PM
string to "long long" without using atoll sarraju C++ Programming 2 August 4th, 2004 07:19 AM
Modifying long text in a long field sajsal Classic ASP Databases 1 February 20th, 2004 12:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.