[Wicket-user] Servlet forward to a JSP

2005-11-06 Thread Robert McClay
I'm exploring the possibility of integrating Wicket into a JSP 
application. Is it possible to tell Wicket to do a servlet forward to a 
JSP? I would like to add a few request attributes and then forward to a 
JSP. The reason I'd like to do a forward VS include is I need to be 
able to populate request attributes prior to the JSP running. The login 
page is currently implemented in JSP. Another option would be to 
refactor the login page, but I'm curious if it is feasibile to attempt 
the former as I want to use as much of the existing system as possible. 
Thanks.





---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Servlet forward to a JSP

2005-11-06 Thread Eelco Hillenius
Sure. Use wicket.markup.html.pages.RedirectPage for server-side
redirecting to a non-wicket locations. If you want to inlcude things
likes JSP pages into Wicket pages, you can use the
wicket.markup.html.include.Include component. The latter is a bit
rough, so if you need better support on that one, please contribute ;)

Eelco


On 11/6/05, Robert McClay [EMAIL PROTECTED] wrote:
 I'm exploring the possibility of integrating Wicket into a JSP
 application. Is it possible to tell Wicket to do a servlet forward to a
 JSP? I would like to add a few request attributes and then forward to a
 JSP. The reason I'd like to do a forward VS include is I need to be
 able to populate request attributes prior to the JSP running. The login
 page is currently implemented in JSP. Another option would be to
 refactor the login page, but I'm curious if it is feasibile to attempt
 the former as I want to use as much of the existing system as possible.
 Thanks.




 ---
 SF.Net email is sponsored by:
 Tame your development challenges with Apache's Geronimo App Server. Download
 it for free - -and be entered to win a 42 plasma tv or your very own
 Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user