RE: taglibs i/o or jstl core library

2004-02-09 Thread Chris Daly
when i tested the  tag on my machine, it didn't work when pulled 
in the include page.  i also tested it on the jsp page itself (not from the 
include page) and still got the same problem.

this was on a unix sever so i then tested it on my local server (on a test 
app on win2000 pro), and still the images were broken.  i cant figure it 
out because if i simply enter the url into my browser then it comes back 
with relative images etc no problem ???

i think the page is an html page created from a content managment 
system.  its url (not the real one) is

http://intranet.company.co.uk/sites/topnav/topnavheader?view=Administration 
so its creating html on the fly

there is a section in the jstl documentation (section 7-64) that states

"some absolute URL resources may be incaccessible when using 
.  To provide access the JVM of the container should be started 
with the proper networking properties, eg proxyHost and proxyPort"

i've tested on both apps local windows and unix server though they're both 
running as stand alone tomcat 4.1 - do you know how i set the proxyhost and 
proxyPort in the jvm ?  (so that i can tell the network people as they wont 
buy it otherwise - they operate an invisible proxy server and claim that it 
wont be this )

cheers

chris

At 16:18 07.02.2004 -0800, you wrote:
On Thu, 5 Feb 2004, Chris Daly wrote:

> yes.  i have an application with an include header.jsp file, and its using
> the  tag to go to the remote site then nothing happens in
> terms of header.jsp tag, this is missing from the browser page and appears
> to return nothing.
That's not surprising. The redirect goes back to the browser, which will
then request that page directly. Any output from the original request will
be discarded, and replaced by the response from the redirected-to URL.
> in terms of the  tag it works ok if the url is simply entered
> into teh browser but if teh url is in an include tag then any relative
> image references are not to the imported url (which would be ok), but to
> the header include it seems.
Is the page you're trying to include plain HTML, or is it also a JSP page?
I'm wondering if there's something going on in a JSP page related to the
original request URL that might be confusing things.
--
Martin Cooper
>
> cheers
>
> At 08:19 05.02.2004 -0500, you wrote:
> >Hang on, you lost me with the redirect problem. Are you saying that a 
JSP with
> >something like:
> >
> >http://java.sun.com/"/>
> >
> >isn't working for you? I don't understand what you mean by, "the app 
doesn't
> >recognise it".
> >
> >Quoting Chris Daly <[EMAIL PROTECTED]>:
> >
> > > thanks,
> > >
> > > i tried this on opera 6 for windows and it does not compute the 
base URI of
> > >
> > > the document per Section 14.14 of rfc2616.  i tried using the jstl 
redirect
> > >
> > > tag but the app doesn't recognise it the header returns a blank and 
whats
> > > within the body tags takes up the space. it looks like a frameset 
within
> > > the header.jsp page is the only option.  any other ideas ?
> > >
> > > cheers
> > >
> > > chris
> > >
> > >
> > > At 12:14 04.02.2004 -0500, you wrote:
> > > >I've never used the IO taglib so I can't comment on it's 
abilities. The
> > > quick
> > > >test I performed with JSTL's  failed to do what I think 
you're
> > > >asking
> > > >for (even when setting the Content-Location header). If you have 
access to
> > > >either the Amaya or Opera browsers (as pointed to in the link I 
provided),
> > > you
> > > >can verify if this is a browser issue. As for :
> > > >
> > > >http://www.htmlhelp.com/reference/html40/head/base.html
> > > >
> > > >Quoting Chris Daly <[EMAIL PROTECTED]>:
> > > >
> > > > > hi
> > > > >
> > > > > what i've done is imprt teh i/o tag library from
> > > > > http://jakarta.apache.org/taglibs/doc/io-doc/intro.htmland and am
> > trying
> > > to
> > > > >
> > > > > use an existing include jsp to pull in the remote url and all 
relative
> > > > > image links using the  tag.  I'm now looking at the 
jstl
> > > and
> > > > > url related actions and the  tag - would this work where
> > > > >  hasn't ?
> > > > >
> > > > > what do you mean by a resource that uses a base element - can 
you give
> > > an
> > > > > example ?
> > > > >
> > > > > cheers
> > > > >
> > > > > chris
> > > > >
> > > > >
> > > > > At 09:10 04.02.2004 -0500, you wrote:
> > > > > >In theory, you might be able to do this by setting the
> > > Content-Location
> > > > > header
> > > > > >to match the resource you're importing. In practice, however, this
> > > doesn't
> > > > >
> > > > > >seem
> > > > > >to be too well supported:
> > > > > >
> > > > > >http://jigsaw.w3.org/HTTP/CL/
> > > > > >
> > > > > >Have you tried imorting a resource that uses a  element 
to see
> > > if
> > > > > >that works?
> > > >
> > > >--
> > > >Kris Schneider 
> > > >D.O.Tech   
> >
> >--
> >Kris Schneider 
> >D.O.Tech   
> >
> >-

RE: taglibs i/o or jstl core library

2004-02-07 Thread Martin Cooper
On Thu, 5 Feb 2004, Chris Daly wrote:

> yes.  i have an application with an include header.jsp file, and its using
> the  tag to go to the remote site then nothing happens in
> terms of header.jsp tag, this is missing from the browser page and appears
> to return nothing.

That's not surprising. The redirect goes back to the browser, which will
then request that page directly. Any output from the original request will
be discarded, and replaced by the response from the redirected-to URL.

> in terms of the  tag it works ok if the url is simply entered
> into teh browser but if teh url is in an include tag then any relative
> image references are not to the imported url (which would be ok), but to
> the header include it seems.

Is the page you're trying to include plain HTML, or is it also a JSP page?
I'm wondering if there's something going on in a JSP page related to the
original request URL that might be confusing things.

--
Martin Cooper


>
> cheers
>
> At 08:19 05.02.2004 -0500, you wrote:
> >Hang on, you lost me with the redirect problem. Are you saying that a JSP with
> >something like:
> >
> >http://java.sun.com/"/>
> >
> >isn't working for you? I don't understand what you mean by, "the app doesn't
> >recognise it".
> >
> >Quoting Chris Daly <[EMAIL PROTECTED]>:
> >
> > > thanks,
> > >
> > > i tried this on opera 6 for windows and it does not compute the base URI of
> > >
> > > the document per Section 14.14 of rfc2616.  i tried using the jstl redirect
> > >
> > > tag but the app doesn't recognise it the header returns a blank and whats
> > > within the body tags takes up the space. it looks like a frameset within
> > > the header.jsp page is the only option.  any other ideas ?
> > >
> > > cheers
> > >
> > > chris
> > >
> > >
> > > At 12:14 04.02.2004 -0500, you wrote:
> > > >I've never used the IO taglib so I can't comment on it's abilities. The
> > > quick
> > > >test I performed with JSTL's  failed to do what I think you're
> > > >asking
> > > >for (even when setting the Content-Location header). If you have access to
> > > >either the Amaya or Opera browsers (as pointed to in the link I provided),
> > > you
> > > >can verify if this is a browser issue. As for :
> > > >
> > > >http://www.htmlhelp.com/reference/html40/head/base.html
> > > >
> > > >Quoting Chris Daly <[EMAIL PROTECTED]>:
> > > >
> > > > > hi
> > > > >
> > > > > what i've done is imprt teh i/o tag library from
> > > > > http://jakarta.apache.org/taglibs/doc/io-doc/intro.htmland and am
> > trying
> > > to
> > > > >
> > > > > use an existing include jsp to pull in the remote url and all relative
> > > > > image links using the  tag.  I'm now looking at the jstl
> > > and
> > > > > url related actions and the  tag - would this work where
> > > > >  hasn't ?
> > > > >
> > > > > what do you mean by a resource that uses a base element - can you give
> > > an
> > > > > example ?
> > > > >
> > > > > cheers
> > > > >
> > > > > chris
> > > > >
> > > > >
> > > > > At 09:10 04.02.2004 -0500, you wrote:
> > > > > >In theory, you might be able to do this by setting the
> > > Content-Location
> > > > > header
> > > > > >to match the resource you're importing. In practice, however, this
> > > doesn't
> > > > >
> > > > > >seem
> > > > > >to be too well supported:
> > > > > >
> > > > > >http://jigsaw.w3.org/HTTP/CL/
> > > > > >
> > > > > >Have you tried imorting a resource that uses a  element to see
> > > if
> > > > > >that works?
> > > >
> > > >--
> > > >Kris Schneider 
> > > >D.O.Tech   
> >
> >--
> >Kris Schneider 
> >D.O.Tech   
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: taglibs i/o or jstl core library

2004-02-05 Thread Chris Daly
yes.  i have an application with an include header.jsp file, and its using 
the  tag to go to the remote site then nothing happens in 
terms of header.jsp tag, this is missing from the browser page and appears 
to return nothing.

in terms of the  tag it works ok if the url is simply entered 
into teh browser but if teh url is in an include tag then any relative 
image references are not to the imported url (which would be ok), but to 
the header include it seems.

cheers

At 08:19 05.02.2004 -0500, you wrote:
Hang on, you lost me with the redirect problem. Are you saying that a JSP with
something like:
http://java.sun.com/"/>

isn't working for you? I don't understand what you mean by, "the app doesn't
recognise it".
Quoting Chris Daly <[EMAIL PROTECTED]>:

> thanks,
>
> i tried this on opera 6 for windows and it does not compute the base URI of
>
> the document per Section 14.14 of rfc2616.  i tried using the jstl redirect
>
> tag but the app doesn't recognise it the header returns a blank and whats
> within the body tags takes up the space. it looks like a frameset within
> the header.jsp page is the only option.  any other ideas ?
>
> cheers
>
> chris
>
>
> At 12:14 04.02.2004 -0500, you wrote:
> >I've never used the IO taglib so I can't comment on it's abilities. The
> quick
> >test I performed with JSTL's  failed to do what I think you're
> >asking
> >for (even when setting the Content-Location header). If you have access to
> >either the Amaya or Opera browsers (as pointed to in the link I provided),
> you
> >can verify if this is a browser issue. As for :
> >
> >http://www.htmlhelp.com/reference/html40/head/base.html
> >
> >Quoting Chris Daly <[EMAIL PROTECTED]>:
> >
> > > hi
> > >
> > > what i've done is imprt teh i/o tag library from
> > > http://jakarta.apache.org/taglibs/doc/io-doc/intro.htmland and am 
trying
> to
> > >
> > > use an existing include jsp to pull in the remote url and all relative
> > > image links using the  tag.  I'm now looking at the jstl
> and
> > > url related actions and the  tag - would this work where
> > >  hasn't ?
> > >
> > > what do you mean by a resource that uses a base element - can you give
> an
> > > example ?
> > >
> > > cheers
> > >
> > > chris
> > >
> > >
> > > At 09:10 04.02.2004 -0500, you wrote:
> > > >In theory, you might be able to do this by setting the
> Content-Location
> > > header
> > > >to match the resource you're importing. In practice, however, this
> doesn't
> > >
> > > >seem
> > > >to be too well supported:
> > > >
> > > >http://jigsaw.w3.org/HTTP/CL/
> > > >
> > > >Have you tried imorting a resource that uses a  element to see
> if
> > > >that works?
> >
> >--
> >Kris Schneider 
> >D.O.Tech   

--
Kris Schneider 
D.O.Tech   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: taglibs i/o or jstl core library

2004-02-05 Thread Kris Schneider
Hang on, you lost me with the redirect problem. Are you saying that a JSP with
something like:

http://java.sun.com/"/>

isn't working for you? I don't understand what you mean by, "the app doesn't
recognise it".

Quoting Chris Daly <[EMAIL PROTECTED]>:

> thanks,
> 
> i tried this on opera 6 for windows and it does not compute the base URI of
> 
> the document per Section 14.14 of rfc2616.  i tried using the jstl redirect
> 
> tag but the app doesn't recognise it the header returns a blank and whats 
> within the body tags takes up the space. it looks like a frameset within 
> the header.jsp page is the only option.  any other ideas ?
> 
> cheers
> 
> chris
> 
> 
> At 12:14 04.02.2004 -0500, you wrote:
> >I've never used the IO taglib so I can't comment on it's abilities. The
> quick
> >test I performed with JSTL's  failed to do what I think you're 
> >asking
> >for (even when setting the Content-Location header). If you have access to
> >either the Amaya or Opera browsers (as pointed to in the link I provided),
> you
> >can verify if this is a browser issue. As for :
> >
> >http://www.htmlhelp.com/reference/html40/head/base.html
> >
> >Quoting Chris Daly <[EMAIL PROTECTED]>:
> >
> > > hi
> > >
> > > what i've done is imprt teh i/o tag library from
> > > http://jakarta.apache.org/taglibs/doc/io-doc/intro.htmland and am trying
> to
> > >
> > > use an existing include jsp to pull in the remote url and all relative
> > > image links using the  tag.  I'm now looking at the jstl
> and
> > > url related actions and the  tag - would this work where
> > >  hasn't ?
> > >
> > > what do you mean by a resource that uses a base element - can you give
> an
> > > example ?
> > >
> > > cheers
> > >
> > > chris
> > >
> > >
> > > At 09:10 04.02.2004 -0500, you wrote:
> > > >In theory, you might be able to do this by setting the
> Content-Location
> > > header
> > > >to match the resource you're importing. In practice, however, this
> doesn't
> > >
> > > >seem
> > > >to be too well supported:
> > > >
> > > >http://jigsaw.w3.org/HTTP/CL/
> > > >
> > > >Have you tried imorting a resource that uses a  element to see
> if
> > > >that works?
> >
> >--
> >Kris Schneider 
> >D.O.Tech   

-- 
Kris Schneider 
D.O.Tech   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: taglibs i/o or jstl core library

2004-02-05 Thread Chris Daly
thanks,

i tried this on opera 6 for windows and it does not compute the base URI of 
the document per Section 14.14 of rfc2616.  i tried using the jstl redirect 
tag but the app doesn't recognise it the header returns a blank and whats 
within the body tags takes up the space. it looks like a frameset within 
the header.jsp page is the only option.  any other ideas ?

cheers

chris

At 12:14 04.02.2004 -0500, you wrote:
I've never used the IO taglib so I can't comment on it's abilities. The quick
test I performed with JSTL's  failed to do what I think you're 
asking
for (even when setting the Content-Location header). If you have access to
either the Amaya or Opera browsers (as pointed to in the link I provided), you
can verify if this is a browser issue. As for :

http://www.htmlhelp.com/reference/html40/head/base.html

Quoting Chris Daly <[EMAIL PROTECTED]>:

> hi
>
> what i've done is imprt teh i/o tag library from
> http://jakarta.apache.org/taglibs/doc/io-doc/intro.htmland and am trying to
>
> use an existing include jsp to pull in the remote url and all relative
> image links using the  tag.  I'm now looking at the jstl and
> url related actions and the  tag - would this work where
>  hasn't ?
>
> what do you mean by a resource that uses a base element - can you give an
> example ?
>
> cheers
>
> chris
>
>
> At 09:10 04.02.2004 -0500, you wrote:
> >In theory, you might be able to do this by setting the Content-Location
> header
> >to match the resource you're importing. In practice, however, this doesn't
>
> >seem
> >to be too well supported:
> >
> >http://jigsaw.w3.org/HTTP/CL/
> >
> >Have you tried imorting a resource that uses a  element to see if
> >that works?
--
Kris Schneider 
D.O.Tech   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: taglibs i/o or jstl core library

2004-02-04 Thread Kris Schneider
I've never used the IO taglib so I can't comment on it's abilities. The quick
test I performed with JSTL's  failed to do what I think you're asking
for (even when setting the Content-Location header). If you have access to
either the Amaya or Opera browsers (as pointed to in the link I provided), you
can verify if this is a browser issue. As for :

http://www.htmlhelp.com/reference/html40/head/base.html

Quoting Chris Daly <[EMAIL PROTECTED]>:

> hi
> 
> what i've done is imprt teh i/o tag library from 
> http://jakarta.apache.org/taglibs/doc/io-doc/intro.htmland and am trying to
> 
> use an existing include jsp to pull in the remote url and all relative 
> image links using the  tag.  I'm now looking at the jstl and 
> url related actions and the  tag - would this work where 
>  hasn't ?
> 
> what do you mean by a resource that uses a base element - can you give an 
> example ?
> 
> cheers
> 
> chris
> 
> 
> At 09:10 04.02.2004 -0500, you wrote:
> >In theory, you might be able to do this by setting the Content-Location
> header
> >to match the resource you're importing. In practice, however, this doesn't
> 
> >seem
> >to be too well supported:
> >
> >http://jigsaw.w3.org/HTTP/CL/
> >
> >Have you tried imorting a resource that uses a  element to see if 
> >that works?

-- 
Kris Schneider 
D.O.Tech   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: taglibs i/o or jstl core library

2004-02-04 Thread Chris Daly
hi

what i've done is imprt teh i/o tag library from 
http://jakarta.apache.org/taglibs/doc/io-doc/intro.htmland and am trying to 
use an existing include jsp to pull in the remote url and all relative 
image links using the  tag.  I'm now looking at the jstl and 
url related actions and the  tag - would this work where 
 hasn't ?

what do you mean by a resource that uses a base element - can you give an 
example ?

cheers

chris

At 09:10 04.02.2004 -0500, you wrote:
In theory, you might be able to do this by setting the Content-Location header
to match the resource you're importing. In practice, however, this doesn't 
seem
to be too well supported:

http://jigsaw.w3.org/HTTP/CL/

Have you tried imorting a resource that uses a  element to see if 
that works?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: taglibs i/o or jstl core library

2004-02-04 Thread Kris Schneider
In theory, you might be able to do this by setting the Content-Location header
to match the resource you're importing. In practice, however, this doesn't seem
to be too well supported:

http://jigsaw.w3.org/HTTP/CL/

Have you tried imorting a resource that uses a  element to see if that works?

Quoting Martin van Dijken <[EMAIL PROTECTED]>:

> Hey Chris,
> 
> Can't you take that into account on the page you're including? I can't
> imagine there would be a tag that actually parses the HTML it retrieves
> to correct incorrect paths. You see, you want images to work, another
> will want stylesheets to work, yet another wants forms to submit anyway.
> Plus there are quite a few ways to get a picture into a page. You'd have
> to check the style attribute, the src attribute and several other
> places. It is simply far too much work to start on.
> 
> Grtz,
> 
> Martin
> 
> > -Original Message-
> > From: Chris Daly [mailto:[EMAIL PROTECTED] 
> > Sent: woensdag 4 februari 2004 12:05
> > To: [EMAIL PROTECTED]
> > Subject: taglibs i/o or jstl core library
> > 
> > 
> > hi
> > 
> > i'm trying to make a url include within a page and was 
> > wondering which tag 
> > could pull in the url and display relative image links within 
> > the url ?
> > 
> > cheers
> > 
> > chris

-- 
Kris Schneider 
D.O.Tech   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: taglibs i/o or jstl core library

2004-02-04 Thread Martin van Dijken
Hey Chris,

Can't you take that into account on the page you're including? I can't
imagine there would be a tag that actually parses the HTML it retrieves
to correct incorrect paths. You see, you want images to work, another
will want stylesheets to work, yet another wants forms to submit anyway.
Plus there are quite a few ways to get a picture into a page. You'd have
to check the style attribute, the src attribute and several other
places. It is simply far too much work to start on.

Grtz,

Martin

> -Original Message-
> From: Chris Daly [mailto:[EMAIL PROTECTED] 
> Sent: woensdag 4 februari 2004 12:05
> To: [EMAIL PROTECTED]
> Subject: taglibs i/o or jstl core library
> 
> 
> hi
> 
> i'm trying to make a url include within a page and was 
> wondering which tag 
> could pull in the url and display relative image links within 
> the url ?
> 
> cheers
> 
> chris
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]