RE: [JXPath] and Collections

2008-02-07 Thread Matt Benson
--- Jeffrey Puro [EMAIL PROTECTED] wrote: If I change this to a List, how do I set an element on it or add one to it? context.setValue(myList/, New object on list); Do I have to specify a particular index or can setValue just add on its own? You have to specify the index. And

RE: JXPath and Collections

2008-02-07 Thread Jeffrey Puro
If I change this to a List, how do I set an element on it or add one to it? context.setValue(myList/, New object on list); Do I have to specify a particular index or can setValue just add on its own? Thanks, Jeff -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent:

Re: File Upload Exception - request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded

2008-02-07 Thread Martin Cooper
On Feb 7, 2008 8:15 PM, Edward S [EMAIL PROTECTED] wrote: Hey guys, I am tryin to upload a JPG file and am getting this error: org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException:the request doesn't contain a multipart/form-data or multipart/mixed stream, content

Re: File Upload Exception - request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded

2008-02-07 Thread Edward S
Martin I tried both. the thing is, apart from the file parameter in the form there is another hidden field that contains a text value. if i use multipart/form-data, tht hidden field comes up as null. -S2. On 2/7/08, Martin Cooper [EMAIL PROTECTED] wrote: On Feb 7, 2008 8:15 PM, Edward S