Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Textbox in JSP served as XHTML empty when printed in IE11

 
Ranch Hand
Posts: 67
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Sheriff
Posts: 67620
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And I should have deleted this out of that JSP:

 
Bear Bibeault
Sheriff
Posts: 67620
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 26973
85
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic