One possible solution is to have them write their files as jsp documents so the encoding can be called out in the preamble( See below) I'd like to avoid imposing that "foreignness" :-) on the users if at all possible.

TIA
Brett Knights

e.g.

<?xml version="1.0" encoding="shift_JIS" standalone="yes"?>

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.0"
   xmlns:c="urn:jsptld:http://java.sun.com/jsp/jstl/core";
   xmlns:fn="urn:jsptld:http://java.sun.com/jsp/jstl/functions";
>

<html>
...
</html>
</jsp:root>


Brett Knights wrote:
Hello,

I have a tomcat server in which I have a number of appfuse projects deployed. I have on application that I'd like to have the default file encoding be shift_jis. Is there any way to set the file.encoding system parameter on a per context basis? Some other method of achieving this aim? The main concern here are the static files that will get added to the project after deployment. ie. that are not part of the mvc hierarchy but which are wrapped by sitemesh.

TIA
Brett Knights

---------------------------------------------------------------------
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]

Reply via email to