Idea 4 - JSP tag library setup?
I'm interested in using ID4 to take over development of an outsourced project originally developed in JB9 & Adobe GoLive.
The existing JSP's use Struts 1.1 tag libraries - and specifiy their .tld files in a very standard fashion
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>]]>
ID4 complains it cannot find the files. They are in the /moduleRoot/WEB-INF/ directory.
What setting will cause ID4 to look in this location?
Dave
请先登录再写评论。
Hi
This is described in "Web Application Development with IntelliJ IDEA 3.0", http://www.jetbrains.com/idea/docs/WebApps.pdf.
What you do is to map your uri to a resource, the .tld file.
Open setting, IDE-settings and select Resources
Map your uri to the resource, i.e. /moduleRoot/WEB-INF/[name of the taglib.tld file].