This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Getting started with Java programming language and have Ashish Sarin & J Sharma on-line!
See this thread for details.
Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Textbox in JSP served as XHTML empty when printed in IE11  RSS feed

 
Howard Watson
Ranch Hand
Posts: 67
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Curious if anyone sees something broke here.

Copy to a JSP. Serve from an application server and type something in the text boxes in IE11 and Print preview. Works fine in Firefox and Chrome.

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65767
130
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should something be broke? I have no idea what you are asking us to do.

And, XHTML? I assume this is some sort of homework assignment. Is XHTML mandated even though it's out of date?
 
Howard Watson
Ranch Hand
Posts: 67
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought I outlined my question and no it is not a homework assignment. I've used XHTML for a long time. It enforces good syntax. You leave off a '/' and it won't work. Just a personal preference. XHTML5 is still part of W3C.

Anyhow, in that simple JSP if text is input to the empty textbox and text is edited in the textbox with Xs in IE11 it prints exactly like it was before the text was edited. An empty textbox and one with Xs.  So I was looking for a second opinion that maybe I declared it incorrectly or was missing something else.
 
Howard Watson
Ranch Hand
Posts: 67
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And I should have deleted this out of that JSP:

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65767
130
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(Aside from what I see is all the syntactic noise introduced by XHTML) I don't see anything overtly wrong. If IE11 is doing something weird that none of the other browsers do, the problem is pretty clearly with IE11.

As there's no JSP-ness to the issue, this has been moved to the HTML forum.
 
Paul Clapham
Sheriff
Posts: 22127
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've already seen a web page which says (paraphrased) "IE 11 doesn't show this page correctly, we don't know why, sorry." However... JSP is generating some XHTML which IE 11 screws up on, so it might be more useful to look at that XHTML directly. Okay, I see that the JSP doesn't have any logic which generates the HTML part but maybe the XML declaration might be the issue?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!