RE: [JBoss-user] file upload problem

2003-08-18 Thread Alastair Rodgers
eiko > Sent: 18 August 2003 13:38 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] file upload problem > > > HI, > > > > After more digging around, I'm beginning to suspect that this is a > > JBoss > > restriction. > > iTracker(.sf.net)

RE: [JBoss-user] file upload problem

2003-08-18 Thread Brian McSweeney
oblem :-) Thanks to everyone who tried to help Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Brock Sent: 18 August 2003 13:53 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-user] file upload problem I'm guessing it uses g

RE: [JBoss-user] file upload problem

2003-08-18 Thread Brian McSweeney
PROTECTED] Subject: Re: [JBoss-user] file upload problem Are you, perhaps, trying to write a file to a directory name? You might want to add a filename to your FileOutputStream constructor instead of the directory. With the struts stuff, the original filename is sent along with the file in the

Re: [JBoss-user] file upload problem

2003-08-18 Thread Neal Sanche
Are you, perhaps, trying to write a file to a directory name? You might want to add a filename to your FileOutputStream constructor instead of the directory. With the struts stuff, the original filename is sent along with the file in the headers, so you should be able to ask the servlet. Or mak

Re: [JBoss-user] file upload problem

2003-08-18 Thread Adrian Brock
I'm guessing it uses getRealPath() which means you have to deploy your war as unpacked. jar -xf myapp.war into a folder in deploy called myapp.war Regards, Adrian On Mon, 2003-08-18 at 10:17, Brian McSweeney wrote: > Hi all, > > > > I’m trying to do a file upload action based on the example

RE: [JBoss-user] file upload problem

2003-08-18 Thread Brian McSweeney
Thanks Heiko, Before I start digging into iTracker's source code, perhaps someone has done this before? Cheers, Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rupp, Heiko Sent: 18 August 2003 13:38 To: [EMAIL PROTECTED] Subject: RE: [JBoss

RE: [JBoss-user] file upload problem

2003-08-18 Thread Rupp, Heiko
HI, > After more digging around, I'm beginning to suspect that this is a JBoss > restriction. iTracker(.sf.net) stores files on disk on JBoss, so this is doable. Afaik, the J2EE inventors considered the filesystem as non transaction save (consider two servers writing to the same path on a shar

RE: [JBoss-user] file upload problem

2003-08-18 Thread Brian McSweeney
After more digging around, I’m beginning to suspect that this is a JBoss restriction. I’ve read in some email archives that perhaps I don’t have write access to the file system.   a)   Is this true   b)   If so, is there a way get around it   I need to be able to upload files