> btw.
> it's enough to do
> setResponsePage(HomePage.class);
> no need for this long notation.

Thanks.  That's nicer.  The other, I got from an example project.
> sorry, I don't understand this. How can this pagelink generate
> bookmarkable URL? It should be more something like
> app?path=XXX&interface=ILinkListener... and after redirect
> just
> app?path=YYY

Either way, the path after the redirect doesn't have a slash between
"app" and "?".  You get a URL like http://server/app?path=YYY

Therefore, any relative paths in the page think that http://server is
the root path for relative references.  That's bad because it's tomcat's
root.  The URL should be like http://server/app/?path=YYY, so that the
root is http://server/app.  That way all relative references are
relative to the root of my app.

Thanks,
-- 
Philip A. Chapman

Application Development:
Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL
Linux, Windows 9x, Windows NT, Windows 2000, Windows XP

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to