Woodchuck wrote:

--- Craig McClanahan <[EMAIL PROTECTED]> wrote:



On Fri, 10 Sep 2004 18:23:46 +1200, Jason Lea <[EMAIL PROTECTED]>
wrote:



Though, if you are using tomcat 5 (which has JSP2/JSTL1.1) then you
don't need struts el, just use the normal struts tags as Tomcat


takes


care of the EL expressions.


To be a little bit more verbose, this behavior is only enabled (in
Tomcat 5 or any other container that implements JSP 2.0) if your
web.xml file declares itself to be compatible with Servlet 2.4, by
including the following text at the top:

<web-app xmlns="http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">



is it good practice in general to not use live references to the various definition files in web.xml?

do servlet containers cache these definition files?  (ie. only fetch
them once at startup?)

is it possible to store all of these definition files locally and
reference them all locally in web.xml?


From what I understand those are not live references, they just look like URLs but they are not fetched. I think they are treated as an identifier/version. You will find the web-app_2_4.xsd file in Tomcat 5's servlet-api.jar for example

thanks,
woodchuck



Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Jason Lea




Reply via email to