relative path/context problem

2002-09-11 Thread Dave Robbins
Hello All, I'm seeing some really odd behaviour, I hope someone can tell me what i'm doing wrong. I've written some jsp/servlet code with Forte 4.0, created a war file and deployed it on Tomcat 4.0.4. ( I deployed it by putting the war file in the webapps dir and restarting Tomcat) The war

Re: relative path/context problem

2002-09-11 Thread Mauro Daniel Ardolino
I think it will work if you take out the /. Like this: a href=index.jspBack to Top/a Tell me. Bye, Mauro On Wed, 11 Sep 2002, Dave Robbins wrote: Hello All, I'm seeing some really odd behaviour, I hope someone can tell me what i'm doing wrong. I've written some jsp/servlet code with

Re: relative path/context problem

2002-09-11 Thread rob
What servlet mapping(s) do you have setup in web.xml? Dave Robbins wrote: Hello All, I'm seeing some really odd behaviour, I hope someone can tell me what i'm doing wrong. I've written some jsp/servlet code with Forte 4.0, created a war file and deployed it on Tomcat 4.0.4. ( I deployed

Re: relative path/context problem

2002-09-11 Thread Dave Robbins
I have 1 servlet name EntryBean in a package called phonebook should web.xml have entries for jsp pages? here's the whole file ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;

Re: relative path/context problem

2002-09-11 Thread Dave Robbins
you sir, are incredibly smart Thanks I think it will work if you take out the /. Like this: a href=index.jspBack to Top/a Tell me. Bye, Mauro On Wed, 11 Sep 2002, Dave Robbins wrote: Hello All, I'm seeing some really odd behaviour, I hope someone can tell me what i'm

Re: relative path/context problem

2002-09-11 Thread Jacob Kjome
Hello Dave, The issue is that you are specifying a path to the root of your server. Any time you provide /mypage.html, it will ignore the current directory you are in and reference the root of the web server. What you want is ./mypage.html or just mypage.html. What you should be doing when

Re: relative path/context problem

2002-09-11 Thread Mauro Daniel Ardolino
Thanks! but is only experience (yesterday I had the same problem ;) On Wed, 11 Sep 2002, Dave Robbins wrote: you sir, are incredibly smart Thanks I think it will work if you take out the /. Like this: a href=index.jspBack to Top/a Tell me. Bye, Mauro On Wed,