using Eclipse for development.
Sincerely,
Mike M.
>From: David Smith
>Reply-To: "Tomcat Users List"
>To: Tomcat Users List
>Subject: Re: Links to relative URL's from a JSP
>Date: Mon, 24 Jul 2006 13:50:22 -0400
>
> > 2) JSP files, even though accessing image
ke M.
From: David Smith <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: Tomcat Users List
Subject: Re: Links to relative URL's from a JSP
Date: Mon, 24 Jul 2006 13:50:22 -0400
> 2) JSP files, even though accessing image files in the same
directory must use the previ
Mike,
> Whenever I access "catalogue.jsp" by entering in its absolute URL,
> everything works fine. I can still have my relative img links to the
> images contained in the same folder, e.g.,
>
> However, if "catalogue.jsp" is accessed by the servlet forwarding the
> request and response objects
e the HTMLs and see.
See if it picks up your change.
-Original Message-
From: Mike Molina [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 12:32 PM
To: users@tomcat.apache.org
Subject: Links to relative URL's from a JSP
This thread is related to relative URL within JSP's a
On 7/24/06, David Smith <[EMAIL PROTECTED]> wrote:
> My assumption is that JSP files are "rooted" in the WEB-INF directory
and so must use the previous directory notation back up a directory to
access the images contained the WebContent folder where everything else is.
Nope. They are "rooted"
o using "../" before the
image filename. If I access the JSP using an absolute URL, one of the
images will work, if I use dispatcher forwarding, 2 of them will work.
I am using Eclipse for development.
Sincerely,
Mike M.
From: David Smith <[EMAIL PROTECTED]>
Reply-To: "Tomca
> 2) JSP files, even though accessing image files in the same directory
must use the previous directory, e.g., even
though the images are contained in the same directory.
What does the URL in your browser look like when you are access the JSP
pages? The browser constructs the full path to th
This thread is related to relative URL within JSP's and how they refer to
the local directory structure in a web application.
My directory structure in Tomcat goes something like this:
webapps/inprogress/WebContent
(Accessed through Tomcat as such: http://127.0.0.1:8080/inprogres/WebContent
wh