Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Velocity equivalent of jsp:forward
Joined: Jun 13, 2004
May 14, 2005 07:30:00
Is it possible to do the equivalent of <jsp:forward> with Velocity. This was asked in
, but never answered.
I want my index.vm to silently forward to an action which sets up the parameters for my logon.vm. At present I'm using
to do this eg.
<!-- Welcome File List --> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list>
<action path="/Welcome" type="servlets.WelcomeAction" scope="request" validate="false"> <forward name="Success" path="/logon.vm" redirect="false"/> </action>
and the only JSP in the project index.jsp
<html> <jsp:forward page="Welcome.do"/> </html>
I agree. Here's the link:
subject: Velocity equivalent of jsp:forward
Each Time The Server Restarts, The Browser Does Not Display The Welcome Page
ClassNotFound when everything is in place
Struts module problem
can logic:forward pass a parameter?
Error while deploying struts application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013