Questions tagged [actionresult]

The value returned by the Struts 2 Action class method when it completes.

The value returned by the Struts 2 Action class method when it completes. Actually, it returns a String type value. The value of the String is used to select a result element of the configuration. An action configuration will often have a set of result configurations representing different possible outcomes. A standard set of result tokens are defined by the Action interface are:

String SUCCESS = "success";
String NONE    = "none";
String ERROR   = "error";
String INPUT   = "input";
String LOGIN   = "login";

Further details are available: http://struts.apache.org/release/2.3.x/docs/result-configuration.html

457 questions
-1
votes
1 answer

Suggestion for ActionResult upload multiple files

I have the following situation: A document view where user can upload multiple files. A one(Document) to many(files) relationship. All these files are "inside" the document by its IDDocument property. The user will make loads of .xml files upload,…
gog
  • 11,788
  • 23
  • 67
  • 129
-1
votes
2 answers

Couldn't find action or result. No result defined for action in Struts 2

I have configured the annotation to return the values as text. But it's giving me the error: could not find action or result. Console error: org.apache.struts2.dispatcher.Dispatcher - Could not find action or result /part!finder.xhtml No result…
user2444474
  • 623
  • 8
  • 21
  • 40
-1
votes
2 answers

struts 2 multipart maxSize action return

I have set in struts2 the property "struts.multipart.maxSize=524288000" so I can limit the overall upload size to that size. When I upload 2 files that exceed that limit, an exception occurs from the FileUpload…
Panos
  • 7,227
  • 13
  • 60
  • 95
-1
votes
1 answer

Datepicker Ajax break

I have a jQuery datepicker that works except when the Ajax in updateTable is done. The numbers in the calendar cells disappear and selection of cells is prevented. This occurs regardless of what is in updateTable's result. What is the…
mikael
  • 2,097
  • 3
  • 18
  • 24
-2
votes
1 answer

An Object of a type convertible to 'ActionResult' is required

I have a list of European union countries. When a user enters their country of residence on the registration form, I run a foreach block to check if the country they live in is in the EU. If it is, I assign true to a boolean I've declared of…
J.G.Sable
  • 1,258
  • 4
  • 26
  • 62
-2
votes
1 answer

how to using multi-processor ActionResult asp.net mvc 4.0

The controller has many ActionResult and when I click on View, one of them called and run. While I click on the View, ActionResult called will have to wait before it completes ActionResult then run. I want to call my 2nd ActionResult both 2 and…
Cyclone
  • 5
  • 3
-5
votes
1 answer

C# ASP.NET MVC ERROR IN RETURNING VALUES IN VIEW

I am working on an ASP.NET MVC project and I want to return to the view GuardarRegistro three controller values, these values are IdSucursal, IdProducto, Cantidad, but I get an error saying that CS1501 C # No overload for method 'View' takes 4…
1 2 3
30
31