« November 2004 | Main | March 2005 »

February 2005 Archives

February 7, 2005

Jakarta org.apache.commons.fileupload

Using this package caused a little more problems than one would have believed, but it was by far still the best option out there. I found some other beens, but they only would successfully upload Ascii files and were not writen properly to write out image files or other binary data. After having a problem with a few other packages I went to use Jakarta's java fileupload and after figuring out multiple issues and reading alot of documentation I got all of it working as I wanted. I thought I should share th links I ended up using that were usefull and helped me get everything working.

File upload wrapper take a look at ProcessFileUpload.jsp

Jakarta's how to use the fileupload package

If you have any problems let me know and I can probably help you out.

February 8, 2005

GNU tar errors on windows

I ran into a very odd error while running GNU tar on windows XP under dos or the cmd.exe (dos emulator). The error must be incredibly rare since i only found one other post with similiar problems. I will first explain the error and then how it was fixed or resolved.

here is the one link that I found with the similiar GNU windows tar error
tar error

my error:
C:\dev\dsmayer\sandbox\exe>tar cvf tester.tar news
tar: Cannot add file news: No such file or directory (ENOENT)
tar: Error exit delayed from previous errors

news was a standard directory. the error we found was occuring because we were in the C:\dev\*.* directory apparently dev and aux (as the other user was having that error) are some sort of key words that screw up the program, I dont know why. I do know that moving tar.ext and my directory to a folder c:\temp or any other c:\*.*.\dsmayer\sandbox\exe and it would work. So if your having any erros similiar with GNU tar I suggest changing directories and seeing if that fixes your problems. Taring under cygwin in this directory worked fine it was only a problem when taring in dos. Good luck post any questions, comments, or other issues relating to GNU tar on windows here.

February 28, 2005

my neglected blog

alright here is a post to my neglected blog. It always falls behind... Anyways i have been doing a ton of programming, but sadly none of it is very interesting or new right now. Alot of the stuff I am doing I have done before, but I am trying to build up a system which I can use to explore some new ideas and I need a nice simple toolset built up before doing anything else all the interesting. So it might be awhile, before I have any really interesting things to post on here, but i will try and we will see when I get a chance to get back to my AI interests.

Web 2.0 craziness

View Dan Mayer's profile on LinkedIn


I Power Seekler
I Power Seekler

www.flickr.com
This is a Flickr badge showing public photos and videos from mayer_dan. Make your own badge here.

Creative Commons License
This weblog is licensed under a Creative Commons License.