RE: Quick Java question

2003-08-22 Thread Marco Tedone
only one argument (a Collection) and you can play with it from within your method. Hope it will help, Marco ORIGINAL MESSAGE: Message-ID: <[EMAIL PROTECTED]> From: "David Erickson" <[EMAIL PROTECTED]> To: "Struts Mailing List" <[EMAIL PROTECTED]> Subject: Q

RE: Quick Java question..

2003-08-22 Thread Chen, Gin
;) -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 3:13 AM To: 'Struts Users Mailing List' Subject: AW: Quick Java question.. Or you simple pass in an array of arguments public void myMethod(String[] args){} Then you can handle as much Strings a

AW: Quick Java question..

2003-08-22 Thread Oliver Reflé
: Quick Java question.. Or wait till 1.5 ;) http://developer.java.sun.com/developer/community/chat/JavaLive/2003/jl0 729.html *Neal Gafter*: Then there's autoboxing/unboxing and varargs. Boxing allows you to use a primitive int instead of a |java.lang.Integer|, and unboxing does the re

Re: Quick Java question..

2003-08-21 Thread Michael Thompson
ck of what element is what. Maybe Java 1.5 will have the feature you are looking for :-) Alex. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 6:51 PM To: 'Struts Users Mailing List' Subject: RE: Quick Java question.. sorry,

RE: Quick Java question..

2003-08-21 Thread Alex Shneyderman
TECTED] > Sent: Thursday, August 21, 2003 6:51 PM > To: 'Struts Users Mailing List' > Subject: RE: Quick Java question.. > > sorry, dude, but param arguments are evaluated at compile time. The best > you could do is overload the method. > > Mark > > -Origin

RE: Quick Java question..

2003-08-21 Thread Mark Galbreath
sorry, dude, but param arguments are evaluated at compile time. The best you could do is overload the method. Mark -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 6:00 PM To: Struts Mailing List Subject: Quick Java question.. Hey as

Quick Java question..

2003-08-21 Thread David Erickson
Hey as I've been building my actions I was thinking it could be useful for me to have a method that does some database querying, but I would like to give the user the ability to narrow down that query with as many input fields as he needs. Is there a way to write a method that takes a non-set amou