Category "model-view-controller"

MVC with tkinter?

MVC with tkinter? I'm trying to do a simple flashcards game with tkinter with MVC pattern but I do not know how to connect the view with their controller...the

How to pass model as a Parameter in Repository method at controller?

So my problem is like that, When I am trying to pass the model in repository method on controller I getting error like this Object reference not set to an insta

Trying to connect to wwwroot and get a image

I work in aspnet core mvc technology, I manage to add an image, it does go to wwwroot, but the image does not display well in the browser Example: enter image d

Returning BadRequest in method that returns PartialViewResult

I have an MVC5 application that has a method populates and returns a partial view. Since the method accepts an ID as a parameter, Id like to return an error if

In Spring mvc application, @RequestBody is throwing java.io.EOFException

In the jsp i am passing the data as json,as in the controller method i am trying to map the data to Personbean object using @RequestMapping. But its throwi

How to handle too much logic in the controller vs the models calling each other

I encountered a code design problem while working on a small application. In terms of features, there are a list of tables, each having 2 seats. If two players

Populate Dynamic Dropdowns List in Codeigniter

Database inlcude Groups like Arts,Science and IT.By Choosing one Group Second Dynamic Dropdown appear which will show the Subjects Related to Group. This is my