Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

japanese not working in JRUN  RSS feed

Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

i am using weblogic 8.1sp3 . i am just trying to output japanese text to the browser.The code is as below for Japanse.jsp

<%@ include file='TestDEIncludeCharset.jsp'%>
<%@ page import="java.util.*"%>
<%@ page import="*"%>

String japanese = "����������o���o����";
out.println("japanse Text ------------------------>"+ japanese);

<title>Japanse Text</title>
<meta http-equiv="Content-Type" content="text/html; charset="Shift_JIS">

<form name="form1" method="post" >
<input type="button" name="Submit2" value="����" >

And the code For TestDEIncludeCharset.jsp is as below.
<%@ page language = "java" contentType="text/html;charset=Shift_JIS" %>


Now it works Well with Weblogic but in JRUN4.0 japanese text is not displaying properly on the browser. Now if i copy the 2 lines of code in
TestDEIncludeCharset.jsp and paste it in place of the include it works in JRUN . but i dont want to do this .

can somebody tell me why this is happening in JRUN . and can somebody give me a wrk around for this

Thank you
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!