In your code fragment there's no "bean:message" tags. Anyway, I've got the
following line in a jsp that works fine:

<html:link page="/ricercaSoggetto.do"><bean:message
key="index.soggetto.ricerca"/></html:link>

You need the following init-param in the ActionServlet configuration
(web.xml):

    <init-param>
      <param-name>application</param-name>
      <param-value>ApplicationResources</param-value>
    </init-param>

and you need, of course, the key "index.soggetto.ricerca" defined in the
file "ApplicationResources.properties" that has to be in
yourWebDirectory/WEB-INF/classes

Good luck!
Giustino De Vincentiis
 

-----Messaggio originale-----
Da: olivier [mailto:[EMAIL PROTECTED]]
Inviato: giovedì 12 aprile 2001 13.13
A: Orion-Interest
Oggetto: Orion-Struts (more question)


Hi,

Thanks to the trick I have seen on this site about how to make struts
working with Orion, I thought that was all good...not exactly.
I can use most of tags I need, except the bean:message one:
        <html:link
page="/editRegistration.do?action=create">Registration</html:link>

(The trick is to remove the dtd from the struts.jar and put them in the
WEB-INF/classes of the application)

This throws the following exception:
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:285)

Any success from someone ??

Thanks,

Olivier



Reply via email to