Questions tagged [struts2-tiles-plugin]

Struts2 Tiles Plugin. Provides integration Struts2 with Tiles.

Tiles is a framework designed to easily allow the creation of web application pages with a consistent look and feel using templates. It can be used for both page decoration and component creation.

The Tiles plugin allows actions to return Tiles pages as results.

25 questions
3
votes
2 answers

Can tiles have action classes?

In Stuts2 I am using Tiles plugin to create a layout for the website (menu, footer, header etc.) that is consistent on every page. Now each tile is just a static HTML content. Is it possible to make a Tile more dynamic by eg. calling a Footer action…
Eleeist
  • 6,891
  • 10
  • 50
  • 77
2
votes
1 answer

Struts 2.5 Unable to find taglib [s] for URI: [/struts-tags]

Trying to migrate Struts 2.1 5o 2.5 and Tomcat 6 to Tomcat 8. Struts tiles plug in 2.1 to 2.5. once deployed into Tomcat 8 JSP is not displaying and getting this error. **Type Exception Report Message ServletException including path…
1
vote
1 answer

Migrating Struts 2.3 to 2.5

I was facing some issues while Struts migrating, I was using Tiles in my application. Below was the error: SEVERE: Error deploying web application archive java.lang.UnsupportedClassVersionError: org/apache/struts2/tiles/StrutsTilesListener:…
Priya
  • 19
  • 2
1
vote
1 answer

java.net.URISyntaxException: Illegal character in path at index in Struts 2.5 Tiles 3.0.Working with Eclipse not on Tomcat 8.0 on separate server

I am using Struts 2.5 with Tiles 3.0. The project is running fine with Eclipse Juno. After exporting the project into Tomcat 8.0 server separately, I am getting the problem in Tiles page. Error HTTP Status 500 - Illegal character in path at index…
1
vote
1 answer

Validation with one action and multiple JSP pages in Struts 2

I have a form with a section where I submit a comment separate from updating the entire form. To keep my JSP manageable I use the following Struts 2 action:
ponder275
  • 903
  • 2
  • 12
  • 33
1
vote
1 answer

java.lang.NoClassDefFoundError: org/apache/tiles/web/startup/TilesListener while using Tiles in Struts 2

I'm integrated Tiles with Struts2 web application in Windows 8 OS. I am getting the following error in server log: java.lang.NoClassDefFoundError: org/apache/tiles/web/startup/TilesListener java.lang.ClassNotFoundException:…
dpk12
  • 95
  • 2
  • 16
1
vote
0 answers
1
vote
1 answer

Struts 2 with annotations error: Unable to locate parent package

I am trying to use tiles along with Struts 2. I am using annotations on action classes as shown below. I have defined a default parent package using the Convention Plugin and also defined the package rcg.console which extends from struts-default and…
1
vote
0 answers

What is the Doc Type for tiles 2.2

I have used tiles 2.0 with this Doc type: but now I want to try some things of tiles 2.2 if I…
StudentJavaEE
  • 33
  • 2
  • 6
1
vote
1 answer

Struts2 Update to 2.3.15.1 implies Tiles upgrade to 3.0.1?

Due to the security issues in Struts 2.3.14.3 we upgraded to Struts 2.3.15.1 today. But we have a problem, since the struts2-tiles-plugin was updated from version 2.1.4 to 3.0.1 and our server is not working anymore. The error is: 18.07.2013…
ferrari2k
  • 461
  • 1
  • 5
  • 16
1
vote
0 answers

Tile 3 does not work on struts2

I am trying to use Tile plugin in my struts2 application, but I am receiving the following error, "Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start:…
Daniel Morgan
  • 782
  • 5
  • 15
  • 43
0
votes
1 answer

Receiver class org.apache.struts2.tiles.StrutsTilesInitializer does not define or inherit an implementation of resolved method createContainerFactory

Could someone point me to a possible solution? We're migrating a really old Struts2.3/Spring4/Hibernate4 application to Struts 2.5.30 / Hibernate 5.2.1 / Spring 5.2.21. Also, the legacy app had Tiles 2.2.2 which we haven't changed. We're keeping…
gene b.
  • 10,512
  • 21
  • 115
  • 227
0
votes
0 answers

Getting java.lang.ClassNotFoundException: org.apache.struts2.tiles.StrutsTilesListener at Server startup - Struts 2.3.28 & Tile-core-2.2.2

We are migrating struts 1.2.9 to strtus 2.3.28. In the process i have added StrutsTilesListener in WEB.xml. I'm getting the below exception while trying to start Wildfly 10.1 server with struts 2.3.28 and tiles-api-2.2.2. Any solution to fix this…
0
votes
2 answers

Issue while upgrading to struts version 2.5.17

I am trying to upgrade struts version from 2.3.35 to 2.5.17 but I encountered an issue as below: java.lang.NullPointerException at com.opensymphony.xwork2.util.fs.StrutsJarURLConnection.getInputStream(StrutsJarURLConnection.java:170) at…
Aniket
  • 3
  • 1
  • 7
0
votes
1 answer

Runtime exception while upgrading to struts 2.5.17

I am trying to upgrade struts from version 2.2.1.1 to 2.5.17. But after upgrading it to 2.5.17 and upgrading few more dependencies I am getting below run time exception? I have also upgraded jars such as jquery plugin,tiles,ognl,dojo etc.. I am…
Aniket
  • 3
  • 1
  • 7
1
2