The Spring Framework is an open source framework for application development on the Java platform. At its core is rich support for component based architectures, and it currently has over a dozen highly integrated modules.

learn more… | top users | synonyms (1) | spring jobs

0
votes
0answers
4 views

Populating Spring MVC form

Following http://viralpatel.net/blogs/spring-mvc-hashmap-form-example/ , I have created the following Controller class: @RequestMapping(value = "/signup", method = RequestMethod.POST) public ...
0
votes
0answers
7 views

howto override contextConfigLocation in dispacherServlet

I want to override the context configLocation The web.xml as following <servlet> <servlet-name>appServlet</servlet-name> ...
0
votes
2answers
12 views

PropertyPlaceholderConfigurer to look for DB values and use properties file as fallback

I'm wondering if its possible to use the value in DB before properties file in PropertyPlaceholderConfigurer. So what I want to achieve is to load the properties file, and if any keys exist in the ...
0
votes
2answers
21 views

Timestamp getting as long instead of date format

I have a one rest method from Spring3 which returns expected JSON response except date which is in timestamp. In database date is stored as 2013-08-08 00:30:00. Before sending response to the ...
0
votes
0answers
13 views

using spring mvc to upload, but MultipartFile is null

@ResponseBody @RequestMapping(value = "companyTypeRelation/toupload") public String uploadCompanyTypeRelation( @RequestParam(value = "uploadfile", required = false) ...
0
votes
1answer
25 views

Does Spring MVC initialize all controllers on start up??

Good day people. Right now in my web application I use a lot of Lists which will have to be sessionAttributes for my app. All this stored in one controller: @Controller ...
0
votes
0answers
5 views

Spring conversion strategy in getBean for JAXB setterless collection

Question How can I inject a bean containing a list generated by JAXB ? Detail These lists have no setters. You populate them through getMyList().getList().add(stuff); For standard java ...
0
votes
2answers
17 views

Spring API to unzip files

I know Spring has MultipartFile component. I am wondering if there is any API to unzip files or read zip files to do some processing? I have a zip file that following a certain format. photos\ ...
0
votes
1answer
15 views

Controller Testing For SPRING-MVC

I am getting error in my controller Saying Null Pointer Exception while When I don't perform the testing. Everything works fine. Controller : @RequestMapping(value = "/studentinsection/{sectionId}", ...
-3
votes
2answers
34 views

Why we use Strategy Facade in Java projects [on hold]

What is the use of Strategy Facade in Java projects? Please help on this.
1
vote
1answer
22 views

How to Segregate comman fields in Hibernate annotaion mapping

I am using spring 3 and hibernate4.2 based annotation configuration in my project, I have number of database tables (view objects/entities) with two common fields createdDate & updatedDate. I want ...
1
vote
0answers
21 views

Android Spring File Upload OutofMemory

I am trying to use the following code to upload a file to a rest api. This code works fine for files up to around 20MB, but bigger files will give an OutOfMemoryError. I am trying to chunk the request ...
1
vote
1answer
29 views

How to notify user of another session using Spring Security?

I have a design/system requirement to notify a user, User-A, that there was another active session (by User-B) prior to User-A's login. How do you accomplish this using Spring Security? The scenario ...
0
votes
1answer
18 views

How to manage ACL for different UI components? [on hold]

I'm facing a mammoth task of managing ACL for different report page components.. basically for different role and status of report, different component will enabled and shown. Is there a simple ...
-1
votes
0answers
11 views

Could not write JSON that failed to lazily initialize a collection of role?

org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: failed to lazily initialize a collection of role: com.hna.dt.orm.Department.companyTypeRelations, no session ...

1 2 3 4 5 2078
15 30 50 per page