Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Action Mapping error in Struts2

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Action Mapping error in Struts2

    Hi All,

    I am new to Struts2, I have been facing an action mapping issue in my Application. The error message reads

    Struts has detected an unhandled exception:

    Messages:
    There is no Action mapped for namespace / and action name "yourActionName".
    Stacktraces

    There is no Action mapped for namespace / and action name "yourActionName". - [unknown location]
    com.opensymphony.xwork2.DefaultActionProxy.prepare (DefaultActionProxy.java:178)
    org.apache.struts2.impl.StrutsActionProxy.prepare( StrutsActionProxy.java:61)
    ...

    The issue is intermittent and it occurs like very rarely. I have verified the action mapping in struts config file and also in JSP action seems to be correctly mapped. As far as I have understood, sometimes the action tries to map to wrong namespace.
    I have defined the namespaces in all the concerned JSP. Nothing seems to be wrong with the controller layer.

    Please help me with this issue


  2. #2
    Junior Member
    Join Date
    May 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Action Mapping error in Struts2

    What does your struts.xml look like?

Similar Threads

  1. struts2 execution error
    By shreekrishna in forum Web Frameworks
    Replies: 0
    Last Post: April 16th, 2013, 01:31 AM
  2. OR Mapping in Hibernate
    By manjula in forum Web Frameworks
    Replies: 1
    Last Post: May 14th, 2012, 07:53 AM
  3. Action Listener Error
    By dookie1293 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 22nd, 2011, 09:34 PM
  4. URL-Mapping
    By newbie in forum Web Frameworks
    Replies: 0
    Last Post: March 29th, 2011, 06:23 PM
  5. Java Font Mapping
    By bmy in forum AWT / Java Swing
    Replies: 4
    Last Post: March 11th, 2011, 06:40 AM

Tags for this Thread