tiles « Struts « JSP-Servlet Q&A





1. struts-tiles    stackoverflow.com

I have developed a simple struts application which retrieves and manipulates customer data from the database. Now I want to include an image at the top of all the pages. I ...

2. struts 2, tiles 2 dynamic title    stackoverflow.com

I am using tiles 2.0.6 as my template framework together with struts 2.1.6. I am writing a simple cms page and want to let the user to define the title of ...

3. Struts Tiles 1 - nested tiles problem    stackoverflow.com

I am using Struts tiles 1 succesfully, however I have come across a problem when trying to nest tiles. I currently have a layout like so: I wish to have another template ...

4. Grails + Struts Tiles    stackoverflow.com

Have someone there any experience with integrating Tiles into Grails (instead of SiteMesh)? I found a few articles like this: http://devdevdev.wordpress.com/2009/01/ and as i understand ...

5. Struts1.x and tiles1.1 problem    stackoverflow.com

I am trying to integrate struts 1.x with tiles 1.1 but I am facing problems! Here's snippet of struts-config.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_3.dtd">

<struts-config>
<!-- ..... -->
<!-- ..... ...

6. How to determine which Tile definition a JSP page uses?    stackoverflow.com

I'm pretty new to Java, and just encountered a strange problem. Previously, everything was working fine and I don't know what I did to screw it up (I know, everyone ...

7. Where did http://jakarta.apache.org/struts/tags-tiles go?    stackoverflow.com

I am working through some course material from Sun (now oracle) to learn something new (Web-Services to be precise). And it is lesson one and when running the example web page ...

8. Sharing JSPs between EARs    stackoverflow.com

Is it possible to share JSPs between EARs, similar to the way that we can share Java files between EARs by using .jar files? I have a large J2EE app on JBoss ...

9. Can not find the tag library descriptor for tiles when using Maven    stackoverflow.com

Here is my config in web.xml file

<listener>
    <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class>
</listener>

<filter>
    <filter-name>struts2</filter-name>
    <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>

<filter-mapping>
    <filter-name>struts2</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>
Here is the config in ...





10. What scope am I in when writing code within a Struts2/Apache Tiles .jsp, and how can I access my current Struts2 Action?    stackoverflow.com

So here I am, writing a JSP script which is called by a Apache Tiles which is called by a Struts2 action. Everything works fine, but I'm just curious about what ...

11. Is it possible to use freemarker as in tiles in struts2    stackoverflow.com

We are trying to use freemarker in our project to remove tiles. What do I replace the followig tiles code with in freemarker -

<tiles:insert page="/login/front.jsp" flush=true />
I tried using <#include "/login.ftl"> ...

12. Failed Tiles Servlet Startup    struts.1045723.n5.nabble.com

Alastair Smith-3 Reply | Threaded Open this post in threaded view | Report Content as Inappropriate Failed Tiles Servlet Startup Hello all I'm new to Tiles, and am trying to port a Struts-Tiles app to Tiles 2.0.6 (the app doesn't use Struts for anything but Tiles). I've copied the standard (servlet) lines ...

13. How to check if a JSP exists from a Tiles preparer    struts.1045723.n5.nabble.com

Hi there, i need to check if JSPs exist in the webapp from the execute() method in a Tiles Preparer. Currently I am doing: ServletContext context = (ServletContext)tilesRequestContext.getApplicationContext().getContext(); (I need to cast as getContext() returns an Object) Then I do: if (context.getResourceAsStream(templateBodyPathValue)!=null) ... I guess checking if that InputStream is not null is not the best way. ...

14. How to integrate Servlet generates pages in Tiles 2    struts.1045723.n5.nabble.com

Hello List, I started developing with Apache Tiles 2 yesterday and I have a question now. I generated me some tiles (footer, header, common_menu,etc). So now I want to insert some pages, which's content is generated by a servlet. The content is different by the given context. For now my jsp's look like this. <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> ...

15. Running tiles 3.0 outside of a servlet environment    struts.1045723.n5.nabble.com

Hi, I've been looking for a way to generate a web site from source files in different languages (HTML, markdown, bbcode, plain text...), both online and offline. After playing around a bit with Tiles 3.0 (from trunk), I think it comes pretty close to the mark. By using custom renderers and a custom Request class, I can include my foreign content ...

16. Tiles 2.1 to Servlet 2.5 and JSP 2.1?    struts.1045723.n5.nabble.com





17. zul tiles with jsp, struts et al    zkoss.org