file upload

I'm looking for help with the file upload code with jsp/sevelets. I was trying some code i got from the net, but they couldn't help. I imports the javazoom.upload package where you finf the UploadBean class, I also ulpoad the fileupload.jar and uploadBean.jar to my library.

I have the following code in my jsp page

<jsp:useBean id="upBean" scope="page" class="javazoom.upload.Upload"Bean >

Then it telling me the value for attribute class is invalid

The file i want to upload are images,pdf,and wordd ocuments

can any one help!

[574 byte] By [DJkakululwaa] at [2007-11-26 18:15:45]
# 1
You might try putting the quotes around the class name instead of having the closing quote somewhere in the middle of the class name.
DrClapa at 2007-7-9 5:49:18 > top of Java-index,Core,Core APIs...
# 2

I have tried it this way but it still trelling me that the value for the class attribute is invalid.

<jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" >

is the something alse i have to do beside importing the javazoom.upload and adding the uploadfiles.jar and uploadbean.jar to the library?

thanks in advace

DJkakululwaa at 2007-7-9 5:49:18 > top of Java-index,Core,Core APIs...
# 3

We're just going to be guessing here. Why would you post an obvious JSP question in a forum about Collections when there's a perfectly good JSP forum just down the page?

And when you do repost in the right place, post useful information. Actual error messages instead of your interpretation of those messages, for example. Telling us where they are coming from (IDE or runtime), for example.

DrClapa at 2007-7-9 5:49:18 > top of Java-index,Core,Core APIs...
# 4
Hi,You can also use MyUploader for uploading files. You can find an example of this program on http://www.javaatwork.com/download.html. This examples includes a jsp for processing the files.Johannes
jpostmaa at 2007-7-9 5:49:18 > top of Java-index,Core,Core APIs...