Re: [S2]Could not find or error in struts.properties

2006-12-03 Thread WongTseng

thanks s lot.

2006/12/4, Don Brown <[EMAIL PROTECTED]>:


struts.properties goes in WEB-INF/classes  In the next version, 2.0.2,
it is completely optional.

Don

On 12/3/06, WongTseng <[EMAIL PROTECTED]> wrote:
> I am a newbie to Strus2, and I have just set up a Struts2 project of
blank
> example. When I start the web container, it throws an exception.
>
> java.lang.IllegalStateException: struts.properties missing
> at org.apache.struts2.config.PropertiesSettings.(
> PropertiesSettings.java:49)
> at org.apache.struts2.config.DefaultSettings.(
DefaultSettings.java
> :52)
>
> the directory structure is as follow:
> WEB-INF
>  |web.xml
>  |struts.properties
>  |applicationContext.xml
>  |class
>  ||struts.xml
>  ||example.xml
>  |example
>   |Login-validation.xml
>   |package.properties
>   |package_es.properties
>
> I just don't know where these xml files should be correctly located. The
> struts2 is rather webwork than Struts,so don't know how  to deal with
it.
> Any help is userful to me.
> --
> Wong Tseng
> 王曾
>

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





--
Wong Tseng
王曾


Re: [S2]Could not find or error in struts.properties

2006-12-03 Thread Don Brown

struts.properties goes in WEB-INF/classes  In the next version, 2.0.2,
it is completely optional.

Don

On 12/3/06, WongTseng <[EMAIL PROTECTED]> wrote:

I am a newbie to Strus2, and I have just set up a Struts2 project of blank
example. When I start the web container, it throws an exception.

java.lang.IllegalStateException: struts.properties missing
at org.apache.struts2.config.PropertiesSettings.(
PropertiesSettings.java:49)
at org.apache.struts2.config.DefaultSettings.(DefaultSettings.java
:52)

the directory structure is as follow:
WEB-INF
 |web.xml
 |struts.properties
 |applicationContext.xml
 |class
 ||struts.xml
 ||example.xml
 |example
  |Login-validation.xml
  |package.properties
  |package_es.properties

I just don't know where these xml files should be correctly located. The
struts2 is rather webwork than Struts,so don't know how  to deal with it.
Any help is userful to me.
--
Wong Tseng
王曾



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



RE: [S2]Could not find or error in struts.properties

2006-12-03 Thread shibing.chen
Remove the struts.properties file located in WEB-INF to
classes dir.

陈仕兵
LifeSystem CS, IT Application Developer
Great Eastern Life Assurance (China) Co. Ltd.
Tel: 86-021-6140 Ext 2405
  86-021-28065394
Fax: 86-23-63885566
-Original Message-
From: WongTseng [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 04, 2006 11:08 AM
To: Struts Users Mailing List
Subject: [S2]Could not find or error in struts.properties

I am a newbie to Strus2, and I have just set up a Struts2 project of blank
example. When I start the web container, it throws an exception.

java.lang.IllegalStateException: struts.properties missing
at org.apache.struts2.config.PropertiesSettings.(
PropertiesSettings.java:49)
at org.apache.struts2.config.DefaultSettings.(DefaultSettings.java
:52)

the directory structure is as follow:
WEB-INF
 |web.xml
 |struts.properties
 |applicationContext.xml
 |class
 ||struts.xml
 ||example.xml
 |example
  |Login-validation.xml
  |package.properties
  |package_es.properties

I just don't know where these xml files should be correctly located. The
struts2 is rather webwork than Struts,so don't know how  to deal with it.
Any help is userful to me.
-- 
Wong Tseng
王曾


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



[S2]Could not find or error in struts.properties

2006-12-03 Thread WongTseng

I am a newbie to Strus2, and I have just set up a Struts2 project of blank
example. When I start the web container, it throws an exception.

java.lang.IllegalStateException: struts.properties missing
   at org.apache.struts2.config.PropertiesSettings.(
PropertiesSettings.java:49)
   at org.apache.struts2.config.DefaultSettings.(DefaultSettings.java
:52)

the directory structure is as follow:
WEB-INF
|web.xml
|struts.properties
|applicationContext.xml
|class
||struts.xml
||example.xml
|example
 |Login-validation.xml
 |package.properties
 |package_es.properties

I just don't know where these xml files should be correctly located. The
struts2 is rather webwork than Struts,so don't know how  to deal with it.
Any help is userful to me.
--
Wong Tseng
王曾