I would assume that the @include page directive would work better,
given that the content is static.  The jsp:include is for including
dynamic output from another object in your response.

Steffen Fiedler wrote:

Hi,

I have two problems with <jsp:inlude> - tag:

1) I can only include files with extension .html or .jsp, when i try to
include other files (e.g. .txt) , the generated HTML-code just ends
at the point where the included text should appear, without any
error-message. When i rename file.txt to file.html its included
correctly. I found this behaviour nowhere described.

2) The include-tag seems to destroy the correct character-encoding.
E.g. german Umlaute are shown as ?. When i request the included
file directly its shown correct, on the including jsp-page too.

Thanks for any help,
Steffen

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com



=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com

Reply via email to