I'd be curious to know what kind of tricky stuff you are talking about. Last time I tried to get JS to connect to anything bt the original origin of the script, the browsers refused. I could set up a poxy server and cause it to forward requests wherever apropriate, bu that is fragile and a pain in the ass administer. Fortunately, since S3 will serve up files over HTTP, there isn't actually a need to do cross-site js, since you can serve your js file from the same server as the js will want to talk to. But you'd still have to implement a web services client in javascript.
--sam On 4/12/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > You ~can~ do some tricky stuff to allow cross domain JS but it's not > something you can do with little effort. > > On 4/12/06, Sam Gendler <[EMAIL PROTECTED]> wrote: > > > > You can't upload and download directly from the browser to S3 because > > javascript can only connect back to the server from which the js file > > was served, although I guesss you could stick a .js file on S3, > > include from your tapestry served page, and then cause the page to > > talk directly to the S3 service - but I don't know whether anyone has > > written javascript that can do S3 transactions directly. Normally, > > you'd connect back to the server and then have the server talk to S3 > > via axis or something similar. > > > > --sam > > > > > > On 4/12/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > AFAIK you upload/dowload files to/from Amazon S3 through web services. > > All > > > you need to do is use a WS client like Axis( http://ws.apache.org/axis2), > > no > > > matter if you're using Tapestry or any other web framework. > > > > > > You can use the the upload > > > component( > > http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Upload.html > > ), > > > well, for uploading..... > > > > > > > > > Cheers > > > > > > Hugo > > > > > > On 12 Apr 2006 14:04:50 -0000, Lennart Benoot <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > > > > > Hi All, > > > > > > > > Anyone already experience with integrating Amazon S3 storage service > > with > > > > tapestry. I 'm particulary interested in uploading (large) files from > > a > > > > tapestry application to S3 and retrieving them for example as images. > > > > > > > > Kind regards, > > > > > > > > Lennart Benoot > > > > www.thoth-systems.com > > > > Knowing, Keep knowing > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Jesse Kuhnert > Tacos/Tapestry, team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://opennotion.com > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]