Right, i had tried to add controller.
Unfortunately, seems i cannot add <controller .. /> into struts-config file.
--------------------
<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
          "http://struts.apache.org/dtds/struts-config_1_3.dtd";> 
--------------------

i always got validation error!






I think you forgot to override controller class (as i remember i had the same 
problem):

Your configuration should have also:

<controller  processorClass="org.apache.struts.tiles.TilesRequestProcessor"  
contentType="text/html; charset=UTF-8"/ >


>My configurations: 
>
> struts-config.xml
>----------------------------
> <action path="/Welcome" forward="welcome.page" / >
>...
> <action-mappings >
>   <!-- Default "Welcome" action -- >
>   <!-- Forwards to Welcome.jsp -- >
>   <action path="/Welcome" forward="welcome.page" / >
>...
> <plug-in className="org.apache.struts.tiles.TilesPlugin" >
>
>   <set-property property="definitions-config"
>   value="/WEB-INF/tiles-defs.xml" / >
>  </plug-in >
>...
>----------------------------

-- 
Greetings
Mateusz Nowakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to