File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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
ClassNotFound when everything is in place
Each Time The Server Restarts, The Browser Does Not Display The Welcome Page
Struts module problem
Error while deploying struts application
can logic:forward pass a parameter?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014