Questions tagged [action-mapping]

Maps a request URL to the Struts2 action.

The action mappings are the basic "unit-of-work" in the framework. Essentially, the action maps an identifier to a handler class. When a request matches the action's name, the framework uses the mapping to determine how to process the request.

Find more about Action Mappings on the docs page.

95 questions
0
votes
0 answers

Spring Web Service SOAP is not working after integration with struts 2.3?

Till now in my project the spring 3.0.1 and struts 2.0 was getting integrated and SOAP web service was working perfectly fine. But for some security reason I have migrated to struts 2.3 and for SOAP, I am using jars like spring-ws-all-1.5.9 and…
dsahoo188
  • 61
  • 1
  • 7
0
votes
1 answer

Handle a not action mapping in struts2

I have a problem, i have implemented the in struts2, and its going well, but when i put in the browser, an action that does not exists, like http:mysite/someurl/somefake.action i have a screen, where you can read "Struts Problem Report Struts has…
pavul
  • 27
  • 2
0
votes
1 answer

Problems Deploying application to Weblogic through the Admin Console

I'm using Weblogic 10.3.5. When I deploy my Struts2 application locally in eclipse, it runs fine. When I try to deploy my application through the Admin console, I get a Struts 2 error, name not found for action. When I look at the .war file, it…
NuAlphaMan
  • 713
  • 4
  • 12
  • 25
0
votes
2 answers

Filter mapping Url pattern *.action not working struts2

in the struts2 web.xml application i have filter and servlet web.xml ... SchServlet com.vk.translate.report.SchServlet
0
votes
0 answers

There is no Action mapped for namespace [/] and action name [searchUser] associated with context path []

Before converting my Struts Action into annotations, the project was working fine. But now I was trying to do with annotations, and having this error. My Earlier struts.xml file that contained the action is :
0
votes
2 answers

There is no Action mapped for namespace [/user] and action name [user!add] associated with context path

After clicking on the URL in the index.jsp page, it returns the message There is no Action mapped for namespace [/user] and action name [user!add] associated with context path [/Struts2]. - [unknown location] …
Methew
  • 405
  • 1
  • 7
  • 11
0
votes
1 answer

java struts2 hibernate and spring application and soap web services

I have a web application using struts2, spring and hibernate frameworks. Now I want to expose some of its methods via soap web service. I have a class and I simply annotated it with @WebService annotation and an Service endpoint interface. Now when…
user3108790
  • 431
  • 2
  • 6
  • 14
0
votes
1 answer

restful service without MVC

I wanted to create a Restful service but when i tried the url "http..:8080/appanalytix-web/requirementservice/saverequirements" its not working Myservice : @Path("/requirementservice") @Service("dimRequirementManager") public class…
jos
  • 1,082
  • 5
  • 19
  • 45
0
votes
2 answers

No Action mapped for namespace [/] and action name

I'm getting this error: HTTP Status 404 - There is no Action mapped for namespace [/] and action name [loginForm] associated with context path web.xml:
Mercenary
  • 2,106
  • 6
  • 34
  • 43
0
votes
1 answer

Exception occurred during processing request: There is no Action mapped for namespace [/] and action name [enter-goal] associated with context path

I am trying to create a link from one page to another page. My main page is: enter-protein.jsp and i want to create a link in this page which will forward to another page when anybody will click the link. I already created the link but it does not…
0
votes
1 answer

setting up struts2 project in netbeans Maven

the following is what i do. 1. download and use all the jar 2.building web.xml in the WEB-INF
0
votes
1 answer

How to pass a value to an action in Struts 2 when you don't have a form?

I've written a submit button like this: And I've defined the url like this.
Uday Kanth
  • 361
  • 3
  • 9
  • 16
0
votes
0 answers

Cannot access my application on Heroku - no context path

For the last two days I was struggling to get my Struts2 application (just one simple page for testing - no database or anything fancy for now) up and running on Heroku with Jetty Runner. I finally did it - it deployed successfully, however there is…
Eleeist
  • 6,891
  • 10
  • 50
  • 77
0
votes
1 answer

How to Implement custom 404 page in Struts2

I am learning struts2 app development, appreciate some help implementing custom 404 page. In my application, web.xml has the following: 404
Dushyanth
  • 280
  • 1
  • 4
  • 9
0
votes
3 answers

Struts 2 - There is no Action mapped for namespace [/] and action name [validateLogin] associated with context path [/LoginApplication]

I tried out all the possible solution available on the internet. error : HTTP Status 404 - There is no Action mapped for namespace [/] and action name [validateLogin] associated with context path [/LoginApplication]. struts.xml file
piresashwin
  • 155
  • 4
  • 13