Category "spring-mvc"

400 Bad Request - while POSTing JSON data to RESTful controller implemented with Spring MVC

I am trying to POST some JSON data to RESTful spring controller. But getting "400 Bad Request" as response status. Giving below code from the key configuration

@EventListener for AuthenticationSuccessEvent or InteractiveAuthenticationSuccessEvent not fired

I have this listener in the context of Spring: package listeners; import java.util.Date; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.s

Ignore fields from Java object dynamically while sending as JSON from Spring MVC

I have model class like this, for hibernate @Entity @Table(name = "user", catalog = "userdb") @JsonIgnoreProperties(ignoreUnknown = true) public class User imp

Hibernate : Why is it trying to drop/create database on startup?

I'm new with Spring. I finally succeeded to build my application with no error but when i'm looking to the output i have a lot of information that i don't under

How can I make Spring WebServices log all SOAP requests?

I need all SOAP requests logged in the CommonLogFormat (see http://en.wikipedia.org/wiki/Common_Log_Format), plus the duration (the amount of time it takes to p

exception sending context initialized event to listener instance of class

I have this class: public class DatabaseHelper { @Autowired static UtilService utilService; public static void fillEmptyTables(){ if(!isSk

exception sending context initialized event to listener instance of class

I have this class: public class DatabaseHelper { @Autowired static UtilService utilService; public static void fillEmptyTables(){ if(!isSk

what is the default page for spring-mvc application

IF i have this line in web.xml then i know which is landing page <welcome-file-list> <welcome-file>redirect.jsp</welcome-file> </welcome

Spring @Value annotation always evaluating as null?

So, I have a simple properties file with the following entries: my.value=123 another.value=hello world This properties file is being loaded using a PropertyP

Spring 3 MVC: Issue binding to list form fields on submit

Let me introduce my issue by providing some of the code in question. First my form object: public class OrgChartForm { List<OrgChartFormElement> or

How to configure log4j in a Spring Mvc application configured with Java Annotations and using a log4j.properties file

I'm working on a Maven Web application using Spring MVC 4.2.5.RELEASE, I'm using Netbeans IDE with GlassFishSErver 4.1, I want to use log4j 1.2.17 so I created