If you look at the class name com.oreilly.servlet.MultipartRequest you see
that you need that library, (see http://servlets.com/cos/) so make sure it's
in your tomcat class path.

Also, make sure that your tomcat server is set up to run .jsp files, it
sounds like it might not be?



On Mon, Sep 14, 2009 at 3:04 AM, siti nurnamira
<[email protected]>wrote:

>
> hi henry,
> its me again. i tried but i encounter another problem. i wonder if you
> could
> help me. I did put "c:/" for the directory as according to the comment
> where
> they say (// On windows, use "c:/") and
> look at the log and the error is "unable to compile class for JSP" and also
> this "MultipartRequest" part, it says it does not exist. So when i run i
> got
> IO error.
> what i should do?im so stressed up. :(
> thank you
>
>
> Henry Minsky wrote:
> >
> > Also, check that you have a writable directory at /tmp/uploader
> >
> > otherwise, if you look at your tomcat log you will probably see an error
> >
> > 2009-09-11 07:19:56 StandardWrapperValve[jsp]: Servlet.service() for
> > servlet
> > jsp threw exception
> > java.lang.IllegalArgumentException: Not a directory: /tmp/uploader
> >     at
> > com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:215)
> >
> > On Fri, Sep 11, 2009 at 7:15 AM, Henry Minsky
> > <[email protected]>wrote:
> >
> >> did you rename the upload.jsp.txt file to ".jsp" ?
> >>
> >>
> >> On Fri, Sep 11, 2009 at 4:49 AM, siti nurnamira <
> >> [email protected]> wrote:
> >>
> >>>
> >>> hi chen ding,
> >>> you said by using the example works well. I tried using it too and try
> >>> to
> >>> browse and upload file, but it will pop up "http error" in the textbox.
> >>> Did
> >>> you encounter this? Did you edit anything?
> >>>
> >>>
> >>> Chen Ding-3 wrote:
> >>> >
> >>> > Henry,
> >>> > Thanks for the help. The examples worked very well!
> >>> >
> >>> > Chen Ding
> >>> >
> >>> > On Fri, Jul 10, 2009 at 8:12 AM, Henry Minsky
> >>> > <[email protected]>wrote:
> >>> >
> >>> >> There were some examples in lps/components/incubator/uploader
> >>> >>
> >>> >> but I haven't tried any of them for a long time...
> >>> >>
> >>> >>
> >>> >> On Thu, Jul 9, 2009 at 7:41 PM, Chen Ding <[email protected]>
> >>> wrote:
> >>> >>
> >>> >>> Hi There,
> >>> >>> I am wondering whether we can do the file upload in OpenLaszlo. If
> >>> yes,
> >>> >>> can someone point where I should look at or where the references
> >>> are.
> >>> >>>
> >>> >>> Thanks!
> >>> >>>
> >>> >>> Chen Ding
> >>> >>>
> >>> >>
> >>> >>
> >>> >>
> >>> >> --
> >>> >> Henry Minsky
> >>> >> Software Architect
> >>> >> [email protected]
> >>> >>
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://www.nabble.com/How-to-upload-files-in-OpenLaszlo--tp24419708p25396825.html
> >>> Sent from the OpenLaszlo - User mailing list archive at Nabble.com.
> >>>
> >>>
> >>
> >>
> >> --
> >> Henry Minsky
> >> Software Architect
> >> [email protected]
> >>
> >>
> >>
> >
> >
> > --
> > Henry Minsky
> > Software Architect
> > [email protected]
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-upload-files-in-OpenLaszlo--tp24419708p25431244.html
> Sent from the OpenLaszlo - User mailing list archive at Nabble.com.
>
>


-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to