Hi Hans; 

Thanks for your answer

But still url can be seen by the user. 
I need to forward in order to hide the url from user. 

Any idea ?

Thanks.




________________________________
From: Hans Lesmeister <hans.lesmeis...@lessy-software.de>
To: Wicket Users <users@wicket.apache.org>
Sent: Thu, July 21, 2011 12:35:21 PM
Subject: Re: Forward to Bookmarkable

You can setResponePage or throw one of the RestartResponse*-Exceptions

Regards
Hans


Am 21.07.11 11:19 schrieb "Lurtz Nazgul" unter <lu...@ymail.com>:

> I also tried 
> 
>             WebRequestCycle cycle = (WebRequestCycle) RequestCycle.get();
>             ServletRequest httpRequest =
> cycle.getWebRequest().getHttpServletRequest();
>             ServletResponse httpResponse =
> cycle.getWebResponse().getHttpServletResponse();
>             ServletContext context = ((WebApplication)
> Application.get()).getServletContext();
>             context.getRequestDispatcher("/mywelcome").forward(httpRequest,
> httpResponse);
> 
> where mywelcome url is BookmarkablePage, in MyWebApplication.java
> 
>  this.mountBookmarkablePageWithUrlCoding("/mywelcome", Welcome.class);
> 
> Thanks.
> 
> 
> 
> 
> ________________________________
> From: Lurtz Nazgul <lu...@ymail.com>
> To: users@wicket.apache.org
> Sent: Thu, July 21, 2011 12:15:19 PM
> Subject: Forward to Bookmarkable
> 
> Hi;
> 
> How can i forward user to a BookmarkablePage.  I don't need redirection. I
> don't 
> 
> want user to see url.
> 
> 
> Thanks.



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

Reply via email to