Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

iframe encoding problem with keyboard displays ??? in place of text

jsfgeeksNov 11 2008 — edited Nov 11 2008
hello,

I have problem with my virtual keyboard?

actually i am embedding virtual keyboard in jsp page for multi language supported typing...

keyboard code is in JavaScript file.

In my JavaScript file i am including iframe which includes one html file like below:
I=document.createElement('div');

I.innerHTML=";<iframe frameborder=\"0\" src=\""+o+"vk_iframe.html\"></iframe>";

_.appendChild(I);

l=I.firstChild;

l=I;

c=true}

if(l&&!i.isOpen()){l.style.display='block';

c=true}

if(c){if(_!=l.parentNode)_.appendChild(l);O=Q}
Page vk_iframe.html is as below

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

<html>

 <head>

  <title>Virtual Keyboard</title>

  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

  <script type="text/javascript" src="vk_loader.js"; ></script>

 </head>

 <body onload="window.top.IFrameVirtualKeyboard.onload();"></body>

</html>
My jsp page uses UTF-8 encoding all other text supports multilingual but not keyboard.

if i include keyboard in html file outside netbeans other than jsp file all works good .

but when i use this in jsp file it displays question marks(?) in place of text.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 9 2008
Added on Nov 11 2008
1 comment
252 views