getting paramater names from checkboxes

2001-03-23 Thread Martin Pribyl
Hi, I have a problem in handling values of checkboxes. If I write for exampple and then on some other page String whatToDo = request.getParameter("action"); then everything is OK, in whatToDo is the value DELETE. But If I have How could I get all the values of the selected checboxes? Thank yo

Re: getting paramater names from checkboxes

2001-03-23 Thread Martin Pribyl
Yes, this is one possible way, but in ASP I can do something like this For i=1 To Request.QueryString("name").Count to get the values. Or in PHP I can write and then for ($i=0; $i To: <[EMAIL PROTECTED]> Sent: Friday, March 23, 2001 8:59 PM Subject: Re: getting paramater names from checkboxes

Re: getting paramater names from checkboxes

2001-03-23 Thread Martin Pribyl
st.getParameters("action"); > > multiple checkbaoxes return multiple parameters > > -Original Message- > From: Martin Pribyl [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 23, 2001 2:30 PM > To: [EMAIL PROTECTED] > Subject: getting paramater names from chec

Re: getting paramater names from checkboxes

2001-03-23 Thread Martin Pribyl
I was faster:-)) Thanks anyway, now everything is OK. Martin - Original Message - From: "Andi Anderson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 23, 2001 9:30 PM Subject: Re: getting paramater names from checkboxes > I am sorry it should look like this: > > Strin

Re: getting paramater names from checkboxes

2001-03-23 Thread Martin Pribyl
I got it!! The name of the function is getParameterValues and not getParameters. So I have to use String[] whatToDo = request.getParameterValues("action"); Thank you very much, You inspired me! Thanks Martin - Original Message - From: "Andi Anderson" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

jsp-interest@java.sun.com

2001-03-28 Thread Martin Pribyl
Hi, how could I get the content and the name of the file, when I use the input form element with the type=file? Either using the request object, or using the java bean to handle the form with the directive (rather) Thanks a lot, Martin