Hi guys,

I ran in to a problem when creating jsp templates in a magnolia 5.3.3 community 
version maven project running on eclipse luna.

I have a webapp module and a sub module created in my maven class.

The issue is JSP templates should be created in <Sub Module> -> 
src/main/resources -> mgnl-files -> templates folder. Then I have my 
<module-name> -> areas folder. Here I have a template called "navigation.jsp" 
which will include file "searchForm.jsp".

<%@include file="/templates/ShopModJsp/includes/searchForm.jsp"  %>

Now this "searchForm.jsp" file is in the same location includes folder. But the 
eclipse failed to read this location and gives the error no file found.

Fragment "/templates/ShopModJsp/includes/searchForm.jsp" was not found at 
expected path /ShopModJsp/templates/ShopModJsp/includes/searchForm.jsp

But when I include the whole template structure with in the webapp module -> 
Deployed Resources folder it works.

Anyone knows how to overcome this issue?  Is this some kind of eclipse error or 
my jsp file location error?

Thanks,
Hasitha

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=35a4ec8a-c97c-4643-99b9-b162a39b08db


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to