• Post Reply Bookmark Topic Watch Topic
  • New Topic

Textbox in JSP served as XHTML empty when printed in IE11

 
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: 65661
129
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: 65661
129
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: 21963
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?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!