Based on the Model-View-Controller (MVC) pattern, Spring MVC helps you build web-based applications that are flexible and decoupled from the underlying view technologies.

learn more… | top users | synonyms

0
votes
0answers
3 views

NullPointer on Multipartfile with Spring MVC

It seems my case is simple, so I'm guessing the problem is stupid. Nonetheless...I don't see it. I'm trying to accept the upload of a collection of files and have been looking at this article as a ...
0
votes
0answers
5 views

Spring MVC and hibernate combining models

I'm developing a web application using the Spring framework along with Hibernate as the ORM and DAO. I have two Models Class1 and Class2. Which hibernate maps to Database tables Table1 and Table2 ...
0
votes
0answers
12 views

BindingResult doesn't work - Spring Test

I have my controller: @RequestMapping(value = "/addtimesheet", method = RequestMethod.POST) public String addTimeSheet(@ModelAttribute("timesheet")TimeSheet timeSheet, ...
1
vote
0answers
10 views

How to bind Maps of Maps, or some other way to structure the data

I am not even sure how to go about asking this, but I will try to give it a shot. I have an existing application that I support that consists of a dynamically generated form of a bunch of values. ...
0
votes
3answers
17 views

Why am I getting org.codehaus.jackson.map.JsonMappingException: No suitable constructor found for type

Can someone please tell me Why am I getting org.codehaus.jackson.map.JsonMappingException: No suitable constructor found for type error? Here is my call: try { String jsonreturn ...
0
votes
1answer
18 views

Spring MVC 3 ModelAndView: controller method to return several views

my requirement is to return view according to the selected value (select form) view.jsp: <form method="post" action="/aaa"> <select id="attr1" name="attr1"> ...
0
votes
1answer
15 views

Twitter Bootstrap Template with Spring MVC

I'm trying to setup twitter bootstrap with spring mvc. I moved all the bootstrap (bootstrap.css and bootstrap-responsive.css) into the resource folder and linked it to the jspx page. I copied/pasted ...
0
votes
1answer
22 views

Multiple spring project on server can exchange data between them

I have two spring project deployed on same server, is there any way to access the object of one application to other application
1
vote
1answer
15 views

Java Webapp Cannot Find Local Server Directory

I have a Spring MVC 3.1 webapp running on Tomcat 5.5 on a CentOS server. I have a controller that checks for the existence of a file located on a network share, which is mounted on the server ...
1
vote
1answer
31 views

Return JSON Data with Springs MVC which way is better and why

Return JSON Data with Springs MVC which way is better and why? Should I sent back ResponseEntity or just the Object? @RequestMapping(value = "/", method = RequestMethod.GET) @ResponseBody public User ...
0
votes
1answer
25 views

Spring MVC @Controller and profiles

I have a spring mvc controller and I want to enable it only in some profiles (for example development and test). I know I can use the 'profile' attribute of the 'beans' element in xml configuration to ...
0
votes
1answer
14 views

bad mapping after adding the XmlViewResolver to the project

My project worked very well before i add a controller which extends the AbstractController, then I always get the famous 404 page when i try to open the "/" root page. I integrated spring-security in ...
0
votes
1answer
18 views

Neither BindingResult nor plain target object for bean name 'emlpoyee' available as request attribute

I do know, that similar question was raised here several times, however all those posts didn't help me and I still fail to fix it. Here is part of my controller: @RequestMapping("/contacts") ...
1
vote
2answers
17 views

Opening image file in jsp file useing href

hi i am trying to open the image file in jsp page with this code <a href="file:///D:/FTP/ScanDoc/1018/1365171701_table-add_871716093.png" target="_blank">abc</a> but due to some ...
0
votes
1answer
16 views

Iteration on jsp page </c:forEach> clone results during iteration

I have problem with my controller Spring MVC and Iteration on jsp page. When I pass attributes on jsp page and try to iterate them, it is clone the results and view it on jsp page (results repeats ...

1 2 3 4 5 722
15 30 50 per page