Hi
I try to use tiles with websphere
In my web.xml file when I use the actionservlet
:<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
I receive this error : Can't get definitions factory from context

So I try this action servlet
<servlet-class>org.apache.struts.tiles.ActionComponentServlet</servlet-class
>
Now it's work but I receive this warning action: Warning -
ActionComponentServlet class: This class is to be used with Struts1.0.x
only. Please modify web.xml to use regular ActionServlet class instead in
conjugaison with appropriate plugin declared in struts-config.xml

Here's my plugin in struts_config.xml
<struts-config>
  <plug-in className="org.apache.struts.tiles.TilesPlugin" >
    <set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml" />
    <set-property property="moduleAware" value="true" />
    <set-property property="definitions-parser-validate" value="true" />
  </plug-in>
</struts-config>

Any idea about this strange error?
Thanks

Reply via email to