Re[3]: doing post request to a tapestry page

2009-02-27 Thread Yury Luneff
>> Yuri, >>instead of using the /FIleReceiver URL, do construct a URL by using >> component resources in your page, e.g. >> FileReceiver...: >> public String getUploadUrl() { >> return >> componentResources.createEventLink("fileUploaded").toAbsoluteURI(); >> } >> in your page tem

Re[2]: doing post request to a tapestry page

2009-02-27 Thread Yury Luneff
> Yuri, >instead of using the /FIleReceiver URL, do construct a URL by using > component resources in your page, e.g. > FileReceiver...: > public String getUploadUrl() { > return > componentResources.createEventLink("fileUploaded").toAbsoluteURI(); > } > in your page template, us

Re: doing post request to a tapestry page

2009-02-27 Thread Alex Kotchnev
Yuri, instead of using the /FIleReceiver URL, do construct a URL by using component resources in your page, e.g. FileReceiver...: public String getUploadUrl() { return componentResources.createEventLink("fileUploaded").toAbsoluteURI(); } in your page template, use something like t

doing post request to a tapestry page

2009-02-27 Thread Yury Luneff
Hello, users. I'm trying to link a java applet to jetty/tapestry. I need to pass data through POST request. I'm doing it like this: URL url = new URL("http://localhost:8080/FileReceiver";); System.out.println(url.toString()); HttpURLConnection connection = (Http