• Post Reply Bookmark Topic Watch Topic
  • New Topic

where to put the compatiblity mode setting in jsp file  RSS feed

 
tun lynn
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
:rolleyes: confused:

hi,
I am tasked with changing the site to use compatibility mode
so I search and found this: <meta http-equiv="X-UA-Compatible" content="IE=8" >
example shows only for the html page...whereas mine is all jsp codes and no <header> thing ...
can somebody show me where to put the "<meta http-equiv="X-UA-Compatible" content="IE=8" >" code in the pure jsp file...
thanks in advance and sorry for the stupid question :( :
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A JSP source file is just a template for an HTML page. If your JSP doesn't have all the appropriate HTML tags it may not be creating a valid HTML page. Or perhaps the JSP source you are looking at is just a fragment that creates a portion of the whole HTML page?
 
tun lynn
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Due to restriction of client cant post the codes...but like you said it is possible that ...it is part only of th whole page...
There are include pages...thanks, i will look in to it ...will keep you updated
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If that's the case, then you need to find where the head element is generated and add the tag there.
 
tun lynn
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
thanks for the advice ...yes I did that..as mentioned before, they have the head.jsp include fie for most of the pages and luckily I found it and added just below the <head>;
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9>
.........
</head>

the whole thing about using the meta tag was to solve the problem of saving the input to the text area ( a remarks user put and save the remarks)
now the problem is...because of the compatibility mode issue, input to the text area are not being saved...btw, function for saving the text is working as far as application is concern. its just not working in IE because of the mentioned issue; namely the compatibility thing...
any thoughts on this ...please?
 
tun lynn
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
finally...thanks for your all help. It seems to be working...finger crossed. It is saving as it should...now the ticket is closed :) you guys are great,..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!