External resources

<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

In the example above, does it make sense to specify the location of the /WEB-INF/ and the rest to be derived instead of specifying the location of each and every tld (in this case)?

3 comments
Comment actions Permalink

Vladimir Goncharov wrote:

<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

In the example above, does it make sense to specify the location of the /WEB-INF/ and the rest to be derived instead of specifying the location of each and every tld (in this case)?

No. External resources is not the case. Why don't you just create web
root for your /WEB-INF?

IK
--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

I did already thanks, but there are some other instances where you want to specify the root for the external resources, e.g. xml file DTDs.

0
Comment actions Permalink

Vladimir Goncharov wrote:

I did already thanks, but there are some other instances where you want to specify the root for the external resources, e.g. xml file DTDs.

File a request for this feature and we'll discuss this in separate thread.

IK

--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.