Hi Angelo,

I think a server redirect may do what you require, I have not used it yet with 
Tapestry but it shouldn't be an issue.
Try:
RequestDispatcher rd = request.getRequestDispatcher("pathToResource");
rd.forward(request, response);

You could simply inject the request and response in the page.

Peter

----- Original Message -----
From: "Angelo Chen" <angelochen...@yahoo.com.hk>
To: users@tapestry.apache.org
Sent: Wednesday, 25 March, 2009 05:17:47 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: t5: forwarding in index


Hi,

we can return a page class in the index page to redirect to another page,
but the URL in the browser got changed as well, is there a way to do a
forward in the index page so that the URL in the browser remain the same,
example:

http://localhost:8080?myquerystring

I can capture myQueryString in the HttpServletRequest injected in the
Index.java, and I'd like to forward this to /myOtherPage/p1/p2, without
browser's url got updated, possible?

Thanks,

Angelo



-- 
View this message in context: 
http://www.nabble.com/t5%3A-forwarding-in-index-tp22694515p22694515.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


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

Reply via email to