Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

Re: Problems with <jsp:include>

Steffen Fiedler

2003-07-03

Replies:

Hi,
thanks for this tip, but i have to decide at runtime which side should be
inclouded.

Am Mittwoch, 2. Juli 2003 23:13 schrieben Sie:
>   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 listserv@(protected)
> > JSP-INTEREST". For digest: mailto listserv@(protected)
> > 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 listserv@(protected)
> JSP-INTEREST". For digest: mailto listserv@(protected)
> 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 listserv@(protected)".
For digest: mailto listserv@(protected)".

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


©2008 junlu.com - Jax Systems, LLC, U.S.A.