velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Fortin <>
Subject Re: replacement for jsp:forward
Date Thu, 04 Aug 2005 15:04:23 GMT
I could do a javascript redirect but that would assume that the client 
has javascript enabled.  A meta refresh would be an options too but I 
was hoping to avoid client side redirects, is there a way to do it 
server side?


Michael Oliver wrote:

>Just use a plain old index.html page and use onLoad to go to your velocity
>entry point.
>Michael Oliver
>Alarius Systems LLC
>6800 E. Lake Mead Blvd, #1096
>Las Vegas, NV 89156
>*Note new email changed from
>-----Original Message-----
>From: Michael Fortin [] 
>Sent: Thursday, August 04, 2005 7:44 AM
>To: Velocity Users List
>Subject: replacement for jsp:forward
>Hello all,
>I've been trying to configure a site with velocity and spring and I'm 
>having a little trouble with the welcome page.  With jsp I can just add 
>an index.jsp with a jsp:forward in it to route to my servlet the will 
>render my home page.  I really want to keep it a pure velocity site but 
>there doesn't seem to be an equivalent to jsp:forward in velocity.  I've 
>tried to set a servlet in my welcome file list in the web.xml but that 
>didn't work, I just get a directory listing.  Is there a way to do this?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

View raw message