<jsp:include page=

T

Thom

I want to include a textfile wich is encoded in ISO-8859-1 in a jsp.
The default codepage of the machine (debian) with the Tomcat installed
on is other (US-ASCII) than ISO-8859-1. So the jsp shows no german
special characters like üöä.
How can I set the charset in the include directive? Or can I change
the default codepage for the tomcat or the webapplication? How?

Many thanks for your responses!
Thomas
 
C

Chris

Thom said:
I want to include a textfile wich is encoded in ISO-8859-1 in a jsp.
The default codepage of the machine (debian) with the Tomcat installed
on is other (US-ASCII) than ISO-8859-1. So the jsp shows no german
special characters like üöä.
How can I set the charset in the include directive? Or can I change
the default codepage for the tomcat or the webapplication? How?

Many thanks for your responses!
Thomas

<%@ page contentType="text/html; charset=iso-8859-1"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
page contents here
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,125
Latest member
VinayKumar Nevatia_
Top