You were totally right...my brainfart didn't notice that the data files were in the wrong directory.
On Mon, Jul 8, 2013 at 5:09 AM, Thiago H de Paula Figueiredo < [email protected]> wrote: > On Sun, 07 Jul 2013 16:59:18 -0300, George Ludwig <[email protected]> > 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 <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-unsubscribe@tapestry.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > >
