You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Struts-dev Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/04/30 21:40:01 UTC

Trouble with example from nightly build (and a solution)

Subject: Trouble with example from nightly build (and a solution)
From: Jose Quinteiro <st...@quinteiro.com>
 ===
Using Resin 2.1/JDK 1.4/jikes-1.15 on Windows 2k, if you drop 
struts-example.war in the Resin webapps directory you get:

javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE

Until and unless you add the following under <servlet> in web.xml

<init-param>
<param-name>application</param-name>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
</init-param>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Trouble with example from nightly build (and a solution)

Posted by Jean Fotovat <j....@cross-systems.com>.
hello,

my web.xml file already contains
> <init-param>
> <param-name>application</param-name>
>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-va
lue>
> </init-param>

but the project does not run under jbuilder, until i remove the struts
library from project properties.
does it exist another solution ? or my solution is correct ?
thank you

jean fotovat


----- Original Message -----
From: "Struts-dev Newsgroup" <@B...@basebeans.com>
To: <st...@jakarta.apache.org>
Sent: Tuesday, April 30, 2002 9:40 PM
Subject: Trouble with example from nightly build (and a solution)


> Subject: Trouble with example from nightly build (and a solution)
> From: Jose Quinteiro <st...@quinteiro.com>
>  ===
> Using Resin 2.1/JDK 1.4/jikes-1.15 on Windows 2k, if you drop
> struts-example.war in the Resin webapps directory you get:
>
> javax.servlet.jsp.JspException: Cannot find message resources under key
> org.apache.struts.action.MESSAGE
>
> Until and unless you add the following under <servlet> in web.xml
>
> <init-param>
> <param-name>application</param-name>
>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-va
lue>
> </init-param>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>