wctx.forwardToString("myurl"); -Can it be a full URL? getting null

View: New views
1 Messages — Rating Filter:   Alert me  

wctx.forwardToString("myurl"); -Can it be a full URL? getting null

by Naomif :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm trying to forward the page using WebContext.
WebContext wctx = WebContextFactory.get();
wctx.forwardToString("https://127.0.0.1:8888/pagename'");

If I try to "forwardToString" with the full url it gives me a null error. Is there a way to do so? (if I just put the name of the page it doesn't update the url on the address bar)

Thanks