Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Correctness guarantees

 
Branko Vastic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may be a silly question, but could someone tell me when generating HTML using Servlet and JSP, what correctness guarantees do I get?

I have had a hard time figuring out this.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cent percent.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
guarantees? From whom? For what?

The generated html will be at best as good as the code you write. So if you write crappy code you get crappy html.
If you write perfect code (inconceivable but not impossible) you may get perfect html but don't count on it. It will likely be better than crappy but no more definite answer can be given.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic