Reputation: 4015
I am using Struts2 in Eclipse IDE and JBoss5 server and maven for build. I was trying to use tiles in a simple login application. But I am not able to include the taglib. I have imported all the necessary jars dependencies in pom.xml
file. Following is the list of jars which I have included in maven pom.xml
file:
and also I included and tried different possible combinations of
and still it is not working, the Errors are :
-The absolute uri: http://tiles.apache.org/tags-tiles cannot be resolved in either web.xml or the jar files deployed with this application
-ServletException including path '/layout.jsp'.
-ServletException including path '/layout.jsp'.
when I am trying to import tiles taglib
on a JSP page it says
URI:
http://tiles.apache.org/tags-tiles
cannot be resolved in eitherweb.xml
or the jar files deployed with this application.
I tried Google also. Got some solutions but they didn't work for me.
Upvotes: 1
Views: 5637
Reputation: 1150
You want to integrate Struts2 with Tiles3.
See https://cwiki.apache.org/confluence/display/WW/Tiles+3+Plugin
and
How to integrate Struts 2 with Tiles 3
Upvotes: 1