On Sun, 07 Jul 2013 16:59:18 -0300, George Ludwig <georgelud...@gmail.com> wrote:

Here's my final (I hope block):

What is happening is that when I try to load anyfile.anyextension using
javascript, the tapestry app always returns the contents of index page,
rather than the contents of the requested file.

I also tried loading the file straight from the browser (i.e.,
http://localhost:8080/myfile.ext) and it still returns the contents of the
index page. It returns the same thing even when I type in a URL for a
non-existent file.

Is this a tapestry or jetty setting that I've missed?

Are you sure the files is really available at that URL? I don't think so.When Tapestry doesn't find a file matching a request, it treats it as a page request (render or event). As you probably don't have a page named 'myfile', Tapestry thinks you're doing an event request to the Index page.

Make sure you have a correct, valid URL to the file before going ahead.

--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to