Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

doubt in el function example ?  RSS feed

 
gurpeet singh
Ranch Hand
Posts: 924
1
Fedora Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
was trying the dice roll example given in hfsj book page no. 393-394 and was getting error in my tld file which says "invalid content was found starting with element uri. one of {http://java.sun.com/xml/ns/j2ee":short name} is expected.

i did a search on the same example here at coderanch and found out a similar post where Bear sir told to put <short-name>whatever<short-name>. and it worked.

my question is that why it didn't worked without short-name. in the book there is not short-name tag.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It can depend upon the version of JSP you are using. The XML Schema for the the TLD has changed over time.
 
gurpeet singh
Ranch Hand
Posts: 924
1
Fedora Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks alot Sir
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!