tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amol Yadwadkar" <ayadwad...@webifyservices.com>
Subject Re: Uploading the file @ Desired Location!!!!
Date Wed, 06 Aug 2003 04:47:23 GMT
Hi Howard,
If U r angry with my words then I am really Sorry for those from the Bottom
of the Heart ...............I really don't mean to make U angry!!!!!!.
Actually I am badlly Stuck up @ Uploading Issue.

Problem Statement :-
I want my browsed file to get uploaded @ Desired Location using Upload
Component and at Present I am no where closer in achieving  it.
Can U Please address this Issue in a littlie explanatory way (I will be
using Beta 1 Release)
Thankx a Lot for Considering me!!!! U r my GURU
Best regds,
AMOL



----- Original Message -----
From: "Howard M. Lewis Ship" <hlship@comcast.net>
To: "'Amol Yadwadkar'" <ayadwadkar@webifyservices.com>
Sent: Tuesday, August 05, 2003 9:34 PM
Subject: RE: Uploading the file @ Desired Location!!!!


> cnYou Plz type LIKE a rl prson?
>
> Please direct all Tapestry questions to tapestry-user@jakarta.apache.org.
>
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
>
>
>
> > -----Original Message-----
> > From: Amol Yadwadkar [mailto:ayadwadkar@webifyservices.com]
> > Sent: Tuesday, August 05, 2003 10:54 AM
> > To: Howard M. Lewis Ship
> > Subject: Re: Uploading the file @ Desired Location!!!!
> >
> >
> > Hi Howard,
> > Supposinglly I will have to achieve this by using the beta 1
> > JARS Then Can u Pls show me the Path way in Uploading the
> > File @ Desired Location Thankx. Best Regds, Amol
> >
> > ----- Original Message -----
> > From: "Howard M. Lewis Ship" <hlship@comcast.net>
> > To: "'Tapestry users'" <tapestry-user@jakarta.apache.org>;
> > "'Amol Yadwadkar'" <ayadwadkar@webifyservices.com>
> > Sent: Tuesday, August 05, 2003 8:12 PM
> > Subject: RE: Uploading the file @ Desired Location!!!!
> >
> >
> > > That's strange; it's there, and tagged as beta-2.  Please check your
> > environment to make sure you
> > > are using the correct release and JARs.
> > >
> > > --
> > > Howard M. Lewis Ship
> > > Creator, Tapestry: Java Web Components
> > > http://jakarta.apache.org/tapestry
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Amol Yadwadkar [mailto:ayadwadkar@webifyservices.com]
> > > > Sent: Tuesday, August 05, 2003 10:31 AM
> > > > To: Tapestry users
> > > > Subject: Re: Uploading the file @ Desired Location!!!!
> > > >
> > > >
> > > > Hi Howard,
> > > >
> > > > I have downloaded Beta 2 Version For tapestry
> > > > But Unfortunatelly I didn't get Method write() for
> > IUploadFile!!!!
> > > > Can U pls Throw some Light on it It will be great!!! Thankx Amol
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Howard M. Lewis Ship" <hlship@comcast.net>
> > > > To: "'Tapestry users'" <tapestry-user@jakarta.apache.org>;
> > > > "'Amol Yadwadkar'" <ayadwadkar@webifyservices.com>
> > > > Sent: Tuesday, July 29, 2003 5:52 PM
> > > > Subject: RE: Uploading the file @ Desired Location!!!!
> > > >
> > > >
> > > > > Tapestry uses Jakarta FileUpload component to handle
> > > > uploads of files.
> > > > > If
> > > > you dig around the
> > > > > documentation, you can see there's a lot of room to
> > configure the
> > > > > "bridge"
> > > > between Tapestry and
> > > > > FileUpload using an application extension.
> > > > >
> > > > > beta-2 extends the IUploadFile with a write() method that
> > > > allows you
> > > > > to
> > > > write the uploaded content
> > > > > to an arbitrary location.  write() is somewhat smart ... if the
> > > > > uploaded
> > > > file is already on disk, a
> > > > > write() will MOVE it to the new location, very efficient.
> > > > >
> > > > > --
> > > > > Howard M. Lewis Ship
> > > > > Creator, Tapestry: Java Web Components
> > > > > http://jakarta.apache.org/tapestry
> > > > >
> > > > >
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Amol Yadwadkar [mailto:ayadwadkar@webifyservices.com]
> > > > > > Sent: Tuesday, July 29, 2003 7:21 AM
> > > > > > To: Tapestry users
> > > > > > Subject: Uploading the file @ Desired Location!!!!
> > > > > > Importance: High
> > > > > >
> > > > > >
> > > > > > Hi all
> > > > > > I have used Upload Component Of Tapestry
> > > > successfulyy.But.... What I
> > > > > > am stuck at is as follows:-
> > > > > > ** When we upload the Browsed file it gets uploaded
> > into the App
> > > > > > Servers' Bin Directory and the Code responsible for this is
> > > > > > :------------
> > > > > >
> > > > > > public String getServerPath() {
> > > > > >         if (serverFile != null) {
> > > > > >             return serverFile.getAbsolutePath();
> > > > > >         } else {
> > > > > >             return "";
> > > > > >         }
> > > > > >     }
> > > > > >
> > > > > > Question :-I will like like upload the file at my
> > Desired path.
> > > > > >
> > > > > > In Doc its mentioned that use
> > > > "ServletContext.getRealPath() " which
> > > > > > is fine but the My Question is How we can acheive
> > this??? I have
> > > > > > tried giving the above suggestion ....I got RunTime
> > > > Exceptions for
> > > > > > uploading the File. Can anyone Sort this out ???? Thankx
> > > > Best regds,
> > > > > > Amol Yadwadkar.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > --------------------------------------------------------------------
> > > > -
> > > > To unsubscribe, e-mail:
> > tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > tapestry-user-help@jakarta.apache.org
> > > >
> > >
> >
>


Mime
View raw message