Questions tagged [tiles-3]

This tag is for use with Apache Tiles version 3 and greater. Apache Tiles is a compositional template system.

New features in Tiles 3.0

  • Apache Request: a framework independent request abstraction. Implementations for Servlet, Portlet, JSP, Velocity, FreeMarker and Mustache.

  • Apache Autotag: a tool that automatically generates tags (or tag-like) artifact from a common template code for a range of templating languages. All the Tiles 3 boilerplate code to templating models has been removed and uses the Autotag plugins instead: it's a lot of boilerplate, boring code, now generated automatically.

Removals in Tiles 3.0

  • Upgraded from JavaSE 5.0 to JavaSE 6.0.
  • Upgraded from Servlet 2.4 and JSP 2.0 to Servlet 2.5 and JSP 2.1.
  • Changed the Java API to adopt the Request API. The XML files and taglibs are compatible with tiles 2.2.
  • Dropped the parameter based configuration that was deprecated in 2.2.

Resource

97 questions
6
votes
2 answers

Disable multilingual option in Apache tiles 3

I am getting following warning with Apche tiles 3 and Spring MVC 4 I does not added any extra configurations for multilingual support but it supporting by default. Can any one help me to disable this option to remove this warning in my site. …
Rakesh
  • 1,035
  • 1
  • 14
  • 31
6
votes
2 answers

Spring security throws javax.servlet.ServletException: Could not resolve view with name 'j_spring_security_check'

I am trying to add Spring security with customized login page and access to database to my Spring MVC application. It seems like my mapping is wrong as it can not map j_spring_security_check. To solve the issue I had a look at following pages 1,2,3…
Jack
  • 6,430
  • 27
  • 80
  • 151
6
votes
1 answer

Apache Tiles 3 and Tomcat 8

I got the following error, when i use Tomcat 8: Caused by: java.io.IOException: ServletException including path '/WEB-INF/jsp/tiles-base.jsp'. at org.apache.tiles.request.servlet.ServletUtil.wrapServletException(ServletUtil.java:61) at…
Cengiz
  • 5,375
  • 6
  • 52
  • 77
6
votes
3 answers

How to handle addressing to static pages in Spring MVC

I have a Spring MVC application that is using Tile3. I have many static pages that need to embed them in the template of the website that is currently provided by tile3. (I need to have the same footer and header on all pages, either dynamic or…
Jack
  • 6,430
  • 27
  • 80
  • 151
6
votes
3 answers

How to integrate Struts 2 with Tiles 3

How do we integrate Struts 2 with Tiles 3? The struts2-tiles-plugin currently (2.3.4.1) works with an older version of tiles (version 2.0.6) this can be a bit of a nuisance. This is a self-answer, to help others with their integration.
Quaternion
  • 10,380
  • 6
  • 51
  • 102
4
votes
3 answers

How to integrate Spring 4 with Apache Tiles 3?

I am using Spring framework version 4 and I get confused which folder to put the XML files, specially the tile definitions and where to find the resolver bean.
Andoy Abarquez
  • 1,119
  • 4
  • 17
  • 30
4
votes
1 answer

How to Integrate Struts Conventions with Tiles such that the benefit of conventions is maintained

How to Integrate Struts Conventions with Tiles while maintaining conventions benefits? The issue is that conventions links url-to-action-to-result automatically and does this nicely for jsp, velocity and freemarker results. It does not expect to…
Quaternion
  • 10,380
  • 6
  • 51
  • 102
3
votes
0 answers

Spring4, Tiles and Freemarker integration problems

In my Spring MVC project I use Tiles to eliminate any redundant page structure code. As a view renderer, I first chose Thymeleaf because it was described as a promising new kid on the block and pretty easy to use. Unfortuantely, the integration of…
klausch
  • 612
  • 2
  • 10
  • 22
3
votes
1 answer

Jboss 5.1, Struts 2.3.14.2 "Unable to read class..."

I'm writing a new web application with struts 2.3.14.2. Under tomcat 7 it works but under jboss 5.1 struts throws this exception ERROR Unable to read class [fpf-web.war.WEB-INF.classes.fi.fpf.mvc.controller.IndexController]…
user2100029
3
votes
1 answer

Tiles 3 not Rendering List attributes

I've had no issues with tiles 3.0.1 up until trying to add list attributes to the definitions. There is no error and the definitions render correctly with the exception that the list attributes do not seem to be present on the JSPs. I'm loading…
Quaternion
  • 10,380
  • 6
  • 51
  • 102
2
votes
0 answers

jsp:include returns only text in WebLogic12c

I have faced a very strange issue with jsp:include tag in WebLogic12c and have no clue how to find the root cause or fix it. Please help!!! I am using on my project Struts 2.5.10.1 and Tiles 3.0.7. The JSP page is very simple. It basically uses…
user2525437
  • 155
  • 4
2
votes
2 answers

Spring MVC with Tiles 3 NullPointerException

I've tried everything and it is quite possible that I have problem with some basic understanding of my problem. I try to run Tiles 3 with Spring MVC, here is my project files: web.xml
contrl
  • 109
  • 1
  • 7
2
votes
1 answer

Why is views.properties required for ResourceBundleViewResolver

This is the sort of weird question one runs into when shamelessly copying examples from the Internet. I am using Spring MVC 4, Apache Tiles 3, Java 8, and Tomcat 8. I absolutely must have a views.properties file. BUT it doesn't need to have any…
Terry
  • 911
  • 10
  • 26
2
votes
1 answer

Why Tiles 3.0.5 does not work on Spring web 4.1.5

I configured my Spring based application (4.1.5) to use Tiles 3.0.5. In tiles.xml file I put a file that does not exist "ewfsdfsdf.jsp" to see if the configuration works, then I navigated to hello.htm but it shows hello.jsp rather than showing any…
Jack
  • 6,430
  • 27
  • 80
  • 151
2
votes
1 answer

Struts 2 jquery plugin javascript error

I have a Struts 2 application that use Tiles 3 and Struts 2 Jquery Plugin. In the pom.xml: com.jgeppert.struts2.jquery struts2-jquery-plugin
danielevigi
  • 370
  • 6
  • 14
1
2 3 4 5 6 7