Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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
Struts module problem
can logic:forward pass a parameter?
Error while deploying struts application
ClassNotFound when everything is in place
Each Time The Server Restarts, The Browser Does Not Display The Welcome Page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014