1
vote
1answer
32 views

Is there a new bean object created with every request in spring mvc?

I am not able to understant that only one bean object is created in spring mvc using dispatcher servlet or a new object gets created with every request? Controller code:- In the code i am setting ...
0
votes
0answers
19 views

Spring ModelAndView not rendering the returned view

I am having a problem with springs ModelAndView. I am making a post call from a form, and all i want is to render a new page after that post. This should not be a difficult task but i cannot seem to ...
0
votes
0answers
25 views

Dialog boxes in relation to MVC

I'm creating a java GUI using the Model-View-Controller architecture, and I was wondering which piece should handle showing and receiving input from dialog boxes? Sorry if this is obvious, but to me, ...
0
votes
0answers
25 views

DB2 DRDA Data Stream Syntax Error was detected. Reason: 0x2110

I am developing a web application using MVC structure with Java that will execute user selected queries from a webpage in a drop down menu and will display the data from the DB2 database that the code ...
1
vote
4answers
69 views

Communication between Models in MVC-based GUI

I am developing my GUI according to the MVC pattern: -GUIview: Swing components (JFrame and several JTables). -GUIcontroller: listeners (added here, and defined here in Inner classes) -GUImodel: ...
0
votes
1answer
10 views

Syntax explanation of LocaleResolver and LocaleChangeInterceptor

1)I understand that the syntax for CookieLocaleResolver is as follows: <bean id="localeResolver" class="org.springframework.web.servlet.i18n.CookieLocaleResolver"> <property ...
0
votes
0answers
42 views

Pass parameters between Dialogs and store state

i´m confronted with the following problem which I guess must be a common one. For my Java class at university I have to implement a simple Desktop application with Model View Controller architecture. ...
1
vote
1answer
27 views

Synchronize Controller with View

i have a Java project made with mvc where my flux program is contained on the controller. I'd like to know how i can synchronize my controller with my view because i suppose that if i need an input ...
-1
votes
1answer
12 views

MVC framework to extend AbstractController, AbstractModel

I am trying to learn MVC through this paper but in the example some classes extend AbstractModel or AbstractController, and I guess I need to download an MVC framework. Is it available? Where? ...
0
votes
1answer
37 views

model view controller service

Firstly I don't speak English very well, i'm from France so i hope you will understand what i'm trying to say. I'm developing a JavaFX application (i'm in internship) and this is the organisation of ...
0
votes
3answers
37 views

Spring MVC unable to map URL's

I created a spring MVC project, with a controller class having request mapping methods but when I run the project on server it gives me a 404 error (Requested resource not found) Attached below are ...
0
votes
2answers
40 views

Spring MVC Custom View

I am refactoring a legacy application to use Spring MVC. All of my controllers (legacy) return an object of type Model and my legacy dispatcher write the output of model.getContent(), the method ...
0
votes
1answer
20 views

UML domain model visibility of fields

So I have seen this question: In Java, what's the difference between public, default, protected, and private? and decided to use no modifier in my domain model (MVC), but I cannot understand how ...
1
vote
1answer
32 views

Java MVC Framework: Am i allowed to handle exceptions in the Controller(C)?

Our lecturer gave us a sample model portion of a simple java software to practice on. I have created the controller and view sections of the software myself. Most of the exceptions which are related ...
0
votes
1answer
41 views

MVC - Sound a View or Model?

I am designing a super mario game for android. I am trying to follow the MVC pattern. The core of the program consists of: class representing the model called World. class representing the view ...

1 2 3 4 5 71
15 30 50 per page