Carsten Ziegeler wrote:

Both, the JSR 168 and WSRP require the functionality to switch from http
to https and back. Switching the protocol is only possible with absolute
urls (for the switch itself). That's the reason why the LinkService now
creates absolute urls.
I tested the code on several applications and it works perfectly -
getServerName() returns the correct value (and not localhost) - even on
systems with virtual hosts. So the question is, is it just a
configuration matter on your side or is there a different way to detect
the current server name? If we are not able to detect the server name,
it breaks jsr 168 and wsrp.
So perhaps anyone has a better solution?
I have to second this. I remember having this discussion quite some time ago (last year?) and coming to the same conclusion.

We could improve the LinkService by creating relative links if the
protocol is not changed - like it did before. So this would solve your
use case, but it would not solve the real underlying problem.


Carsten
Could you explain to me what happened in svn? Why does the log only show the last two changes?

Ralph

Reply via email to