-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Justin,

Justin Jaynes wrote:
> You also suggested this: <%@ include file="<%= request.getContextPath() 
> %>/header.jsp" %>
> I tried it but the code inside the quotes does not get evaluated.

Yeah, that was just an idea. I can't remember, does <[EMAIL PROTECTED] %>
require a context-relative path, or a server-relative path (meaning, you
should add the context path)? It occurs to me that an include is done on
the server-side, and is intended to be used within a webapp.

I also remember there was another way to "import" content from another
place. One of these directives actually compiles-in the content from the
other page (sort of like a JSP-include, where you can end up with one
big compiled JSP), and the other actually does an HTTP GET and includes
the resulting content in the output of the currently-executing JSP.

The former ought to be context-relative, meaning that you want
"/header.jsp", while the latter might require a fully-qualified URI,
including the protocol and everything.

Does that help at all, or am I just wasting your time at this point? ;)

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFUlTF9CaO5/Lv0PARAo/oAJ926rahrgg+HNi9dY26D0i6zJDycgCgkqq7
2fxafEjb7Mc5CLVlXuI+13U=
=TRxO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to