Thanks Hassan, Yes, this is jscripts. Someone oversea compile and setup everything for me so I wasn't sure how things suppose to work. Although I try to setup the same with tomcat on my PC and it work just fine but I did use .war on my PC, now on host server I tried to extract everything out of .war ro root that the different. Godaddy support just bad, they said index.jsp is wrong, it doesn't know where home.do is!!! I don't know it either but I suppose they know better. I tried to fix index.jsp with /WEB-INF/home.do and /pages/home.do and /home.do but ie still complain that page not found.
Hassan Schroeder-2 wrote: > > 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] > > > -- View this message in context: http://www.nabble.com/jsp-run-on-tomcat-at-godaddy.com-tp17520071p17524831.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]