On Wed, May 28, 2008 at 4:12 PM, tamnle123 <[EMAIL PROTECTED]> wrote:
>
> That what they said, I can create .war file under root (/) and it will
> explosed when tomcat service restart. I also extract everything under .war
> to root directory but sill not working, godaddy doesn't required home
> directory, here is my index,.jsp on root and I am not sure If I do this
> right...

Bizarre. Anyway, is this supposed to be JavaScript? If so, why?
Are you trying to keep out spiders and other non-JS user agents?

Or to put it another way, why not just use a JSP forward (or include),
or add 'home.do' to the list of welcome pages?

> <script>document.location.href="<%=request.getContextPath()%>home.do";</script>

And this should be <%=request.getContextPath()%>/home.do.

Regardless, have you looked in the logs?

-- 
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to