Top "Controller" questions

A controller is responsible for executing a sequence of instructions in response to some stimulus (maybe a command, action, or event).

Multiple types were found that match the controller named 'Home'

I currently have two unrelated MVC3 projects hosted online. One works fine, the other doesn't work, giving me the error: …

c# asp.net-mvc-3 controller
Spring MVC Controller redirect using URL parameters instead of in response

I am trying to implement RESTful urls in my Spring MVC application. All is well except for handling form submissions. …

java redirect spring-mvc controller
How to pass parameters to a partial view in ASP.NET MVC?

Suppose that I have this partial view: Your name is <strong>@firstName @lastName</strong> which is …

asp.net-mvc asp.net-mvc-3 model-view-controller controller asp.net-mvc-partialview
How to call a function from another controller in angularjs?

I need to call function in another controller in angular js.How it is possible way please help me thanks …

angularjs controller angularjs-scope
Codeigniter: Passing data from controller to view

I want to pass $data from the controller named poll to the results_view however I am getting an undefined …

php codeigniter view controller
passing JSON data to a Spring MVC controller

I need to send a JSON string to Spring MVC controller.But I do not have any form bindings to …

json jquery spring-mvc controller
Angularjs - Pass argument to directive

Im wondering if there is a way to pass an argument to a directive? What I want to do is …

angularjs controller arguments directive
Init method in Spring Controller (annotation version)

I'm converting a controller to the newer annotation version. In the old version I used to specify the init method …

java spring annotations controller
AngularJS custom filter function

Inside my controller, I would like to filter an array of objects. Each of these objects is a map which …

arrays angularjs filter controller
Can I get the name of the current controller in the view?

Is there a way to figure out what the current controller is from within the view? For an example of …

ruby-on-rails model-view-controller view controller