This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSP and the fly likes can we confuse container by giving wrolg ltd location for a perticular uri Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "can we confuse container by giving wrolg ltd location for a perticular uri" Watch "can we confuse container by giving wrolg ltd location for a perticular uri" New topic
Author

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

Anil Deshpande
Ranch Hand

Joined: Jan 13, 2008
Posts: 117
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.


Anil Deshpande
SCJP 1.5, SCWCD 1.5
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874


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

Joined: Jan 13, 2008
Posts: 117
This was the startup log:


Which one should I look for specifically?
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874


Ok. I thought that would throw error/warning during startup. Thats not the case now.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: can we confuse container by giving wrolg ltd location for a perticular uri
 
Similar Threads
TLD file
how to get .tld file working
Custom tags in jsp - .tld file doubt
Looking for your help in fixing a issue in tag library.
Using TLD in JSP