https://issues.apache.org/jira/browse/WICKET-4108
I'm also interested in this topic :-) On Fri, Nov 11, 2011 at 12:06 PM, Илья Нарыжный <[email protected]> wrote: > Hello, > > I have following code: > > String fullPath = url.toAbsoluteString(); > String subPath = url.toString(); > log.info("FULL: "+fullPath+" SUBPATH: "+subPath); > > And after execution on the page in logs I see following: > > 13:00:08,751 INFO [STDOUT] INFO - TestPanel - FULL: /login > SUBPATH: login > > So, it seems that "toAbsoluteString" works incorrect, because according to > documentation: > > /** > * render full representation of url (including protocol, host and > port) into string > * representation > * > * @return absolute representation of the url > */ > > Thanks, > > Ilia > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
