Hi,

Have you enabled jsps within tomcat? I could post a server.xml that
works for us offlist.

Kind regards

J�rgen Hoffmann

Am Mi, den 31.03.2004 schrieb Richard Han um 23:01:

> I got the following err:
> HTTP Status 503 - Servlet jsp is currently unavailable
> 
> I use velocity, not jsp for my app, don't know why index.jsp not working
> here, i did put index.jsp as the welcome page in web.xml thought
> I must missed somthing, maybe tomcat config?
> 
> thanks
> 
> richard
> 
> On Wed, 2004-03-31 at 13:30, J�rgen Hoffmann wrote:
> > Hi Richard,
> > 
> > as I said we use Tomcat standalone or behind an apache. You can do it
> > cleanly with an index.jsp in which you redirect to your application.
> > 
> > Kind regards
> > 
> > J�rgen Hoffmann
> > 
> > -----Urspr�ngliche Nachricht-----
> > Von: Richard Han [mailto:[EMAIL PROTECTED] 
> > Gesendet: Mittwoch, 31. M�rz 2004 21:54
> > An: Turbine Users List
> > Betreff: RE: define Index.vm as a welcome file
> > 
> > Thank you guys for your help!
> > 
> > template.homepage won't do the trick here, because it only gives you the
> > default template if turbine's module resolver can't find a template
> > AFTER index.vm has been visited (I have previously set it to index.vm
> > anyway)
> > 
> > I am using tomcat as standalone, so apache won't help me here (I use
> > iptables to map port 80 to 8080, so users can just use my domain to
> > invoke my app)
> > 
> > I just tried out a way to make it work
> > - index.html is still as the welcome page on web.xml
> > - make a servlet, all it does is:
> >     response.setRedirect(myAppContext/index.vm)
> >   
> > - in web.xml
> >     <servlet-mapping>
> >     <servlet-name>redirect</servlet-name>
> >         <url-pattern>/index.html</url-pattern>
> >     </servlet-mapping>
> >   The redirect is the new servlet name, this will redirect the static
> > index.html to the turbine's dynamic index.vm, and user won't be able to
> > see the index.html anymore.
> > 
> > comments are welcome!
> > 
> > richard
> > 
> > 
> > 
> > On Wed, 2004-03-31 at 11:27, David Demner wrote:
> > > 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]
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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]

--

Mit freundlichen Gr��en

J�rgen Hoffmann
Software Development
 
ByteAction GmbH
Auf der Beune 83-85
64839 M�nster
HRB33271
 
Phone:       +49 (0) 60 71  92 16 - 0
Fax:         +49 (0) 60 71  92 16 - 20
E-mail:      [EMAIL PROTECTED]
Internet:    www.byteaction.de
----------------------------------------------------------------------------------
This communication is intended only for the party to
whom it is addressed, and may contain information
which is privileged or confidential. Any other delivery,
distribution, copying or disclosure is strictly prohibited
and is not a waiver of privilege or confidentiality. If you
have received this telecommunication in error, please
notify the sender immediately by return electronic mail
and destroy the message.
-----------------------------------------------------------------------------------

Reply via email to