Hmm, does using the url "/my/namespace/myAction.action" have the same
results? I have urls in my project's manifest that are rewritten e.g.
{ "url": "/path/to/page-1.html" },...
where /path/to/page-1.html is "mapped" to /real/path/to/page?param=1
and Gears captures the url as "page-1.html" in my managed store (which
is what I want it to do).
(I don't know if using a relative url is the answer but I suppose it's
worth a shot?)
On Apr 8, 2:18 am, cbr <[email protected]> wrote:
> Hi all,
>
> I´m trying to use a Struts 2 result page with Gears offline. In Struts
> 2 the request is directed to a Java class using a XML configuration
> file that points to this class. The class then returns the result. So
> the urls look like this: "/my/namespace/myAction.action". When I´m
> using this within the manifest file, the returned site is not stored
> by the local server. Any other like JavaScript files are stored
> locally. I don´t see that Gears is firing any request on this url. My
> manifest looks like this:
>
> {
> "betaManifestVersion": 1,
> "version": "site_version_string",
> "entries": [
> { "url": "http://localhost:8080/my/namespace/myAction.action" },
> { "url": "gears_init.js" },
> { "url": "active_record.js" },
> { "url": "arrays.js" },
> { "url": "utils.js" }
>
> ]
>
> }
>
> Any ideas to handle this?
>
> Thanks in advance.
>
> Chris