Hi guys, thanks in advance. I was wondering if you could help me solve a problem. I have a website running apache tomcat webserver. My Operating System is Windows XP The address is http://www.themenu.co.za
The problem I am faced with is that when you go to the above link, you will notice in the address bar that it shows "http://www.themenu.co.za/index.jsp". My client whom I created the website for has firmly requested that the address bar just shows the domain name without the /index.jsp. Now I did some research into this problem and found a 'solution' from JGuru, but it doesn't seem to work and prints out a massive stack trace in the d.o.s window. The url for the JGuru solution is : http://www.jguru.com/misc/faqtrampoline.jsp?src=notify&EID=568108 here is what JGuru said I must put in my web.xml file(which causes the stack trace): <servlet> <servlet-name>index</servlet-name> <jsp-file>/index.jsp</jsp-file> </servlet> <servlet-mapping> <servlet-name>index</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> To give you the best understanding of my setup I have included a few key pieces of info. Tomcat Directory : C:\Program Files\Apache Group\Tomcat 4.1 Website Directory C:\Program Files\Apache Group\Tomcat 4.1\webapps\themenu index.jsp file C:\Program Files\Apache Group\Tomcat 4.1\webapps\themenu\index.jsp server.xml file : C:\Program Files\Apache Group\Tomcat 4.1\conf\server.xml web.xml file : C:\Program Files\Apache Group\Tomcat 4.1\conf\web.xml I have created an exact replica of my server.xml and my web.xml file(without JGuru insert) respectively at : http://www.themenu.co.za/JUGQ/server.xml http://www.themenu.co.za/JUGQ/web.xml If you need anymore info please let me know. Thanks again Regards Neil _______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org
