All,

In Wicket 1.5.4, when I have a redirect using setResponsePage() on my test
Jetty server, the URL changes from localhost:8080/myapp to localhost/myapp,
which breaks things, obviously.

Here's a code snippet as an example of redirection:

In my Login.class file:

public void onSubmit(){
  <doing stuff, like checking LDAP for login credentials...>

  RequestCycle.get().setResponsePage(new
RequestForm(username.getModelObject()));
}

Any reason why it removes the port from the URL? It didn't do this in
1.4.19. How should I fix this for 1.5?

Thanks!



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-4-setResponsesPage-removing-port-from-URL-tp4475303p4475303.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to