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.<init>(
PropertiesSettings.java:49)
    at org.apache.struts2.config.DefaultSettings.<init>(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]

Reply via email to