Keep things simple at work and you have more time for play, that's my motto. :)
Glad I could help. John > -----Original Message----- > From: Raj Mettai [mailto:rmettai@;broward.edu] > Sent: Wednesday, October 23, 2002 9:35 AM > To: [EMAIL PROTECTED] > Subject: RE: Index.jsp page in apache and tomcat config.... > > > I don't have to worry about the javascript compatability now > with browsers at all, thanks a lot John, that worked like a charm... > > you make things really simple..... > > thanks again.. > -Raj > > >>> [EMAIL PROTECTED] 10/23/02 08:43AM >>> > > No need to bust out the sledgehammer when a light tap will > do. All you need > is a META tag in the head of your index.html... > > <META HTTP-EQUIV="Refresh" CONTENT="0; URL=index.jsp"> > > The client browser will take care of resolving/translating > "index.jsp" to > "http://some.domain.com/index.jsp" > > John > > > > -----Original Message----- > > From: Raj Mettai [mailto:rmettai@;broward.edu] > > Sent: Tuesday, October 22, 2002 11:55 AM > > To: [EMAIL PROTECTED] > > Subject: RE: Index.jsp page in apache and tomcat config.... > > > > > > I didn't configure apache to include mod_rewrite during > > installation. I > > have to redo the whole process of apache setup again to use > > mod_rewrite, > > Instead I have created an index.html with javascript code(see > > below) in > > it to redirect to index.jsp, it is working for me well so for. > > > > > > <script language="JavaScript"> > > <!-- > > var path = ""; > > wholeurl = document.location.href; > > x = wholeurl.length; > > while((wholeurl.substring(x,x-1)) != "/"){ x--; } clipstart = x; > > path = wholeurl.substring(0,wholeurl.length > > -(wholeurl.length-clipstart)); > > path += 'index.jsp'; > > location.href = path; > > //--> > > </script> > > > > -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
