1. Could you please tell me what tag should I use in web.xml and how to set this relative path by an example?
2. When I use for example: uri="http://java.sun.com/jsf/core" does it really go to this remote site and checks it or some cache mechanism is used by my servlet container?
3. I extracted TLDs from my jar files in lib directory. Did not tomcat do this itself for me?
[My Blog]
All roads lead to JavaRanch
[My Blog]
All roads lead to JavaRanch
Hi,
I have said that instead of repeating e.g.:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
in all of your jsp pages you could do this once in web.xml
and also instead of a remote uri can save a version of TLD locally and point to it.
Only those who will risk going too far can possibly find out how far one can go !!!
Originally posted by Kalyana Sundaram:
Please find my answers in bold
Only those who will risk going too far can possibly find out how far one can go !!!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |