You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Arunkumar Sreedharan <ar...@fastmail.fm> on 2004/05/21 14:36:19 UTC

Struts 1.1 bean:write problem

Ref : msg71420

Hi,

 I suppose the proble is very simple,
 just add the following things to the web.xml and struts-config.xml....

 In Web.xml

 <init-param>
      <param-name>application</param-name>
      <param-value>com.xyz.ApplicationResources</param-value>
    </init-param>

 add the above entry below 
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>


 It is not necessary that the applicationresource.properties may contain
 anything... it can be blank. Its only that this is one of the
 initialization parameters needed for the server to be properly started.
 But make sure the file is there.

In struts-config.xml

<message-resources parameter= "com.xyz.ApplicationResources" />
entry....

and i think its all done.

-- 
http://www.fastmail.fm - Sent 0.000002 seconds ago

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