-
problem with xwork.xml
I have just started larning web frameworks and I started with HelloWorld, the WebWork way
I downloaded webwork 2.1.7 and I moved the jar files to lib folder in my project folder but after Running the project I found this error
The server encountered an internal error () that prevented it from fulfilling this request.
exception
com.opensymphony.xwork.config.ConfigurationExcepti on: Error loading configuration file xwork.xml
with nested exception
com.opensymphony.xwork.config.ConfigurationExcepti on: Caught exception while loading file config-browser.xml
with nested exception
java.lang.Exception: Could not open file config-browser.xml
com.opensymphony.xwork.config.providers.XmlConfigu rationProvider.init(XmlConfigurationProvider.java: 127)
com.opensymphony.xwork.config.impl.DefaultConfigur ation.reload(DefaultConfiguration.java:85)
com.opensymphony.xwork.config.ConfigurationManager .getConfiguration(ConfigurationManager.java:56)
com.opensymphony.xwork.DefaultActionProxyFactory.s etupConfigIfActionIsCommand(DefaultActionProxyFact ory.java:58)
com.opensymphony.xwork.DefaultActionProxyFactory.c reateActionProxy(DefaultActionProxyFactory.java:43 )
com.opensymphony.webwork.dispatcher.ServletDispatc her.serviceAction(ServletDispatcher.java:270)
com.opensymphony.webwork.dispatcher.ServletDispatc her.service(ServletDispatcher.java:237)
javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
can anybody pleas tell me what is the problm?
-
It can't find this file?
config-browser.xml
What does the xwork documentation say about setting up your system?
-
I followed the instruction in the following link
http://media.techtarget.com/tss/stat...rkinAction.pdf
I downloaded webwork.2.1.7
I really do not know where I can find config-browser.xml
-
I'm not going to read the documentation, but that error implies there's a config file you are missing, probably one you are supposed to write yourself.