Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page Directive

 
dennis zined
Ranch Hand
Posts: 330
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reading SCWCD by Hanumant Deshmukh, et. al, I came across this statement on 'Directives':

There must be no space between the equals sign (=) and the value.


I wrote a simple JSP to test this and works fine. Here's my code:



Am I missing something or is that statement not true at all?

Thanks.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think this statement is correct. The only condition is when you are using expression then there should be no space between percentage and equal sign like



 
Alexander Kolesnikov
author
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd say this book is not precise in several areas. For example they go into great details writing about URI used in custom tag libraries. They explain that those URI can be absolute, root relative, non-root relative... When perhaps the most important thing about those URI is that they should bu unique. Nothing is written about that. And if you use the real relative path to your library it will hardly be unique. You don't have to use a real path - but the authors don't mention this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic