jQuery in Action, 2nd edition*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
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: 119
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: 119
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://aspose.com/file-tools
 
subject: can we confuse container by giving wrolg ltd location for a perticular uri