Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we confuse container by giving wrolg ltd location for a perticular uri

 
Anil Deshpande
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This question is just out of curiosity.

This is the myFunction.tld file.



I am following JSP 2.0 specification So I don't have to give the location of tag in DD.But to just out of curiosityi changed the <laglib-location> no non existing one. Still It worked perfectly fine.

DD looks like as follows


No exception was thrown. It worked perfectly fine. because I don't have any muLostFunctions.tld file DiceFunctions as uri

Does that mean container doesn't get fooled by explicit declarations in DD. Does it mean it does the implicit background checking for all uri and .tld files and generate the mapping automatically.
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Does that mean container doesn't get fooled by explicit declarations in DD. Does it mean it does the implicit background checking for all uri and .tld files and generate the mapping automatically.


Yes , did you check the app startup log ?
 
Anil Deshpande
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This was the startup log:


Which one should I look for specifically?
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ok. I thought that would throw error/warning during startup. Thats not the case now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic