Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Does some body has an example of SiteMesh 3 with Struts2 ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alfabeto  
View profile  
 More options Jun 6 2011, 12:13 am
From: Alfabeto <marcelo.hono...@gmail.com>
Date: Sun, 5 Jun 2011 21:13:48 -0700 (PDT)
Local: Mon, Jun 6 2011 12:13 am
Subject: Does some body has an example of SiteMesh 3 with Struts2 ?
Hello People

Does some body has an example of  SiteMesh 3 with Struts2 ?

I've just need the web.xml configurations file.

I've tried everything but it didn't worked.

Greetings


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Walnes  
View profile  
 More options Jun 17 2011, 10:16 am
From: Joe Walnes <j...@walnes.com>
Date: Fri, 17 Jun 2011 09:16:54 -0500
Local: Fri, Jun 17 2011 10:16 am
Subject: Re: Does some body has an example of SiteMesh 3 with Struts2 ?

Here's a minimal example of SM3 running on it's own (with web.xml):
https://github.com/sitemesh/sitemesh3/tree/master/sitemesh-examples-h...

<https://github.com/sitemesh/sitemesh3/tree/master/sitemesh-examples-h...>I'm
afraid I don't have any Struts2 examples. Are there any Struts2 users on the
list who can help?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Grobmeier  
View profile  
 More options Jun 17 2011, 12:29 pm
From: Christian Grobmeier <grobme...@gmail.com>
Date: Fri, 17 Jun 2011 18:29:12 +0200
Local: Fri, Jun 17 2011 12:29 pm
Subject: Re: Does some body has an example of SiteMesh 3 with Struts2 ?

> I'm afraid I don't have any Struts2 examples. Are there any Struts2 users on
> the list who can help?

I am using Struts 2 with SM2. Having tried to upgrade to v3, but
stopped when I saw that there is some work at the Sitemesh plugin
necessary:
http://struts.apache.org/2.2.3/docs/sitemesh-plugin.html

guess one needs to write a new plugin for integrating S3

Cheers
Christian

> On Sun, Jun 5, 2011 at 11:13 PM, Alfabeto <marcelo.hono...@gmail.com> wrote:

>> Hello People

>> Does some body has an example of  SiteMesh 3 with Struts2 ?

>> I've just need the web.xml configurations file.

>> I've tried everything but it didn't worked.

>> Greetings

--
http://www.grobmeier.de

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
xtian  
View profile  
 More options Jun 23 2011, 4:26 am
From: xtian <ghz...@gmail.com>
Date: Thu, 23 Jun 2011 01:26:45 -0700 (PDT)
Local: Thurs, Jun 23 2011 4:26 am
Subject: Re: Does some body has an example of SiteMesh 3 with Struts2 ?
I'm using Sitemesh 3 in Struts 2 with no problem other than the
upload.

This is my web.xml (using Struts 2, Spring, Spring Security,
Hibernate):

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://
java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
        id="WebApp_ID" version="2.5">
        <display-name>MyApp</display-name>
        <listener>
                <listener-
class>org.springframework.web.context.ContextLoaderListener</listener-
class>
        </listener>
        <context-param>
                <param-name>contextConfigLocation</param-name>
                <param-value>/WEB-INF/
applicationContext.xml,classpath*:applicationContextDev.xml</param-
value>
        </context-param>
        <listener>
                <listener-
class>org.apache.struts2.dispatcher.ng.listener.StrutsListener</
listener-class>
        </listener>
        <filter>
                <filter-name>springSecurityFilterChain</filter-name>
                <filter-class>org.springframework.web.filter.DelegatingFilterProxy</
filter-class>
        </filter>
        <filter-mapping>
                <filter-name>springSecurityFilterChain</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>
        <filter>
                <filter-name>openSessionInViewFilter</filter-name>
                <filter-
class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</
filter-class>
        </filter>
        <filter-mapping>
                <filter-name>openSessionInViewFilter</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>
        <filter>
           <filter-name>sitemesh</filter-name>
           <filter-class>org.sitemesh.config.ConfigurableSiteMeshFilter</
filter-class>
        </filter>
        <filter>
                <filter-name>struts-prepare</filter-name>
                <filter-
class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter</
filter-class>
        </filter>
        <filter>
                <filter-name>struts-execute</filter-name>
                <filter-
class>org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter</
filter-class>
        </filter>

        <filter-mapping>
                <filter-name>struts-prepare</filter-name>
                <url-pattern>/*</url-pattern>
                <dispatcher>REQUEST</dispatcher>
                <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
                <filter-name>sitemesh</filter-name>
                <url-pattern>/*</url-pattern>
                <dispatcher>REQUEST</dispatcher>
                <dispatcher>FORWARD</dispatcher>
                <dispatcher>INCLUDE</dispatcher>
        </filter-mapping>
        <filter-mapping>
                <filter-name>struts-execute</filter-name>
                <url-pattern>/*</url-pattern>
                <dispatcher>REQUEST</dispatcher>
                <dispatcher>FORWARD</dispatcher>
        </filter-mapping>

</web-app>

Hope this helps.

Xtian

On Jun 17, 6:29 pm, Christian Grobmeier <grobme...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »