Help with uploading file tutorial

View: New views
2 Messages — Rating Filter:   Alert me  

Help with uploading file tutorial

by fieyr2002 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alright, so I've worked through this tutorial here to help me figure out file uploading. My problem is, it is currently uploading the file to build/web/resources... I'd prefer it to go to web/resources.

The tutorial does tell you how to upload to a different folder within the web application in its "doing more" section. Only problem is, it doesn't tell you specifically what to do with the code it provides. In other words...how to alter the coding you did in the tutorial that makes the picture save to build/web/resources. On a side note, I'd also like it to keep the original file name as well as the extention. The tutorial only takes like 5 minutes to work though. If anyone can help me, I'd really appreciate it.

Re: Help with uploading file tutorial

by fieyr2002 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Woops, forgot the link to the tutorial..

http://www.netbeans.org/kb/60/web/fileupload.html

fieyr2002 wrote:
Alright, so I've worked through this tutorial here to help me figure out file uploading. My problem is, it is currently uploading the file to build/web/resources... I'd prefer it to go to web/resources.

The tutorial does tell you how to upload to a different folder within the web application in its "doing more" section. Only problem is, it doesn't tell you specifically what to do with the code it provides. In other words...how to alter the coding you did in the tutorial that makes the picture save to build/web/resources. On a side note, I'd also like it to keep the original file name as well as the extention. The tutorial only takes like 5 minutes to work though. If anyone can help me, I'd really appreciate it.