Hi,

 I am presently working on struts 2.0.
 Whenever i use strutsUI tags(with theme="ajax") nothing is rendered on
page.
 I have done like this:-
In web.xml
     
   <filter> 
        <filter-name>struts-cleanup</filter-name> 
       
<filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class> 
    </filter> 
    
 <filter> 
   <filter-name>sitemesh</filter-name> 
  
<filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class> 
 </filter> 

<filter-mapping>
    <filter-name>struts-cleanup</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
    <filter-name>sitemesh</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

In jsp page

<head>
   <s:head theme="ajax" debug="true"/>
</head>

<s:tree theme="ajax">
</s:tree>
        
and added library file sitemash.
http://struts.apache.org/2.0.11.2/docs/sitemesh-plugin.html

As mentioned in this document i have done every thing but nothing is
displayed on bowser.
And i read about decorators.xml is it necessary?
I am using tiles 

could u help me out from this problem.

Srikanth.

-- 
View this message in context: 
http://www.nabble.com/Problem-with-Dojo-in-struts2-tp21722133p21722133.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to