Top "Controller" questions

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

EXTBASE: How to get current page uri in extbase controller?

How to get uri of current page in extbase extension controller? In case I need to send current uri via …

controller request uri extbase uribuilder
ASP.NET MVC Controller.OnException not being called

I have a base controller class where I'm overriding to the Controller.OnException handler method in order to provide a …

c# asp.net-mvc controller onexception
Issue with restcontroller and application/x-www-form-urlencoded;charset=UTF-8 media type

Task is trivial client sends request using POST with application/x-www-form-urlencoded media type. Server receives and response with status OK. …

java spring rest controller media-type
Rails - How to set global instance variables in initializers?

I was using the predictor gem. I initialized the recommender in initializers/predictor.rb: require 'course_recommender' recommender = CourseRecommender.new # …

ruby-on-rails controller initializer
Get current action and controller and use it as a variable in an Html.ActionLink?

I need to be able to dynamically retrieve the current action and controller name of whatever page you're on, and …

asp.net-mvc controller toggle asp.net-mvc-areas html.actionlink
@RestControllerAdvice and @ControllerAdvice together

I have an Spring MVC application which has @Controller s and @RestController s. I was thinking that: When I have …

spring exception-handling controller spring-restcontroller
SpringBoot @RestController, Ambiguous mapping found

Hi I have a simple RestController in my Sample: @RestController public class PersonController { @RequestMapping(name = "/getName", method = GET) public String …

spring rest controller spring-boot ambiguous-call
mvc controller test with session attribute

I'm trying to test a method with this signature: @Autowired HttpSession http_Session; @RequestMapping(method=RequestMethod.GET, value="/search/findByName") …

spring-mvc controller attributes junit4 httpsession
Core data: can NSFetchedResultsController fetch two different entities?

I am working on an iPhone app, and in a particular view I need to load two different entities: One …

cocoa core-data controller entities
Simple Injector - No parameterless constructor defined for this object

I have a new MVC Web Project which i am usin MVC and WebApi in. I have setup Simple Injector (…

asp.net asp.net-mvc dependency-injection controller simple-injector