Hi,
we use an index.jsp page in which we ahve the following statement:
<%
response.sendRedirect(response.encodeRedirectURL("http://www.example.de/weba
pp/servlet/webapp"));
%>
Which works just fine.
Kind regards
J�rgen Hoffmann
-----Urspr�ngliche Nachricht-----
Von: David Demner [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 31. M�rz 2004 20:28
An: 'Turbine Users List'
Betreff: RE: define Index.vm as a welcome file
Hi Richard,
In your TurbineResources.properties, check the values for template.homepage
and screen.homepage - make sure these point to Index.vm and Login.vm
respectively.
Alternately, I guess you could use mod_rewrite to do a server side redirect
from index.html to index.vm, but changing the .properties file is probably
better.
Good luck,
David
-----Original Message-----
From: Richard Han [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: define Index.vm as a welcome file
Hi all,
Currently I have index.html as a static html page, which just do
onload redirect to the full Turbine index.vm. But this looks awkward
because user first see index.html briefly and then the brower redirect
to Index.vm. I wonder is there a better way to configure turbine or
tomcat to invoke Index.vm directly.
Thanks!
richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]