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 <[email protected]>
To: [email protected]
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.