开发者

Default taglibs used within included JSPs for editing

开发者 https://www.devze.com 2022-12-22 01:05 出处:网络
Within Eclipse\'s jsp-editor, as you all know, I get code-assistance for external taglibs once I defined them. In the project I am working on now a lot of jsps are just included and have no taglib def

Within Eclipse's jsp-editor, as you all know, I get code-assistance for external taglibs once I defined them. In the project I am working on now a lot of jsps are just included and have no taglib definition in the top which gives me a lot of editor warnings. In the deployment this doesnt matter because the taglibs are defined in the head-jsp.

Is there开发者_开发知识库 a way that I can define default taglibs within a project so the eclipse editor will give me code-assist even though I dont include the taglib in each file again?


basically eclipse expects that TLD files in certain directories, i solved this by putting it in a diretory like WEB-INF in the project root, by estasblishing a linked resource to the original location.

c. Thomas

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号