Well, I kind of disagree here. What you are talking about is context
name. 'app' is just servlet name. There should _not_ be slash after app.
You can have as many contexts as you want. The problem is, that you have
deployed the application to "/" (root) context.
I for example have EvStudZad context, and the url looks like
http://localhost:8080/EvStudZad/app?bookmarkablePage=...
For one application (servlet context - EvStudZad in my case) you can
have more than one wicket servlet.
-Matej
Philip A. Chapman wrote:
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,
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user