> Hi,
>   while migrating my app tu Websphere 6, I choos to migrate 
> from Struts 1.0 to 1.1.
>   (According to META-INF/MANIFEST.MF file, because I am not sure).
>    
>   First when forgetting a file I had :
>   Error 500: Cannot find message resources under key 
> org.apache.struts.action.MESSAGE 
>    
>   I solved this issue in adding the following in web.xml:
>   <init-param>
>   <param-name>application</param-name>
>   <param-value>struts</param-value>
>   </init-param>

This language is telling Struts that there's a file named
"struts.properties" in your /WEB-INF/classes directory that has the
definitions of the strings referenced in your ActionError classes.

>   Now my issue, is that it does not dispaly errors anymore.
>   The "form.java" is the same in both version.
>   The jsp file is the same.
>   But <html:errors/> does not display anything.

Does "struts.properties" exist? Have you defined your error template
strings there?

>   By the way, where are errors message stored ? I found 
> nothing neither in the request nor in the session.

I'm not sure what you mean. What errors? In Struts 1.1.x, when you call
saveErrors(...) in your Action.perform function, the ActiveErrors object
is stored in the HttpRequest object.

--
Tim Slattery
[EMAIL PROTECTED]


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

Reply via email to