what web server are you using?

On Monday 02 June 2003 06:15 pm, Richard Raquepo wrote:
> can someone show me how to use message-resources? i can't seem to get it
> right by following the documention.
>
> the filename of my application resources is ApplicationResources.properties
>
> i use to put my message resources in web.xml under my servlet using this:
>
> <servlet>
>     <servlet-name>action</servlet-name>
>     <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
> ...
>     <init-param>
>       <param-name>application</param-name>
>       <param-value>ApplicationResources</param-value>
>     </init-param>
> ....
>   </servlet>
>
> >>> the above work .
>
> now how do i put the message-resources tag... i put it on my
> struts-config.xml but i cannot make my application run... i always get this
> error:
>
>     [ServletException in:/layouts/crmDefaultLayout.jsp] Cannot find message
> resources under key org.apache.struts.action.MESSAGE'
>
> my message-resources config looks like this:
>
>
>   <message-resources>
>    <param-name>parameter</param-name>
>   
> <param-value>/WEB-INF/classes/ApplicationResources.properties</param-value>
> </message-resources>
>
>
> hope anyone could teach me and show me how to use message-resources...
> thanks

-- 
Frances Aleah Z. De Guzman
SA/Programmer
Ingenium Technology, Inc.
http://www.ingenium.com.ph

Disclaimer :
This message is intended only for the named recipient. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited.



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

Reply via email to