Results 1 to 4 of 4
  1. #1
    bochra is offline Member
    Join Date
    Oct 2010
    Posts
    5
    Rep Power
    0

    Default 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?

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,225
    Rep Power
    20

    Default

    It can't find this file?
    config-browser.xml

    What does the xwork documentation say about setting up your system?

  3. #3
    bochra is offline Member
    Join Date
    Oct 2010
    Posts
    5
    Rep Power
    0

    Default

    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

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,225
    Rep Power
    20

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •