× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> From: Mark Phippard
> 
> The issue with the <link> tag in your HTML is just a simple HTML/HTTP
> issue.

Maybe this is simple to you, Mark, but it's not simple to me.  The fact
that an included JSP acts differently than a called JSP is not intuitive
(although it eventually makes sense if you think about it).

There are other differences as well.  If you serve your servlets by
class name, the base will again be different, since it will include the
"/servlet" folder as part of the URI.


> You can control this by using the <base> tag in your HTML.  Then the
> browser will use the href specified in that tag as the base location
for
> any relative links on the page.

The BASE tag is used to fool the browser into thinking that a page is
being loaded from a different place.  This means you need to be very
careful that the BASE tag is correct, and you need to change it if you
move your page to another location.

It COULD be used for the purpose you suggest, but I haven't found any
examples of it.  I find that when sites like w3c.org and wdvl.com don't
use a technique, it's probably a good one to avoid.

No, I'm just going to have to deal with the fact that my relative paths
will require a little extra cajoling.

Joe


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.