map « MVC « Spring Q&A





1. Spring MVC Mapping problem    stackoverflow.com

I have what I thought was a simple Spring MVC app. However, I can seem to set the requestMappings correctly. What's strange is that the logs show that the ...

2. Spring 3.0: Handler mapping issue    stackoverflow.com

I am having a trouble mapping a specific URL request to one of the controllers in my project. the URL is : http://HOSTNAME/api/v1/profiles.json the war which is deployed is: api.war the ...

3. Catch Spring MVC No Mapping Error    stackoverflow.com

I configured below exception resolver in my web configuration file but I am not sure why it cannot handle errors such as this 'No Matching error found for servlet request: path '/etc'

<bean ...

4. Mapping problem with Spring    stackoverflow.com

I'm working with Spring MVC. I have a controller which returns a new ModelAndView(new RedirectView(getSuccessView())). SuccessView is set as home.htm which is a virtual page that maps to WEB-INF/jsp/home.jsp. However I'm ...

5. Spring MVC: CoC for requesting mapping    stackoverflow.com

Having used other MVC frameworks such as Zend Framework in the past, I am used to the idea of requests being mapped as follows by default. http://mysite.com/user/add calls the add ...

6. javascript Maps    stackoverflow.com

Is there any way where in I can map a "javascript Map" into a "Java Map"???? I mean that i have an array of key value pairs in my javascript of ...

7. Spring mapping problem    stackoverflow.com

I am getting the following error:

No mapping found for HTTP request with URI [/my-app] in DispatcherServlet with name 'web'
My web.xml looks like:
<servlet>
  <servlet-name>web</servlet-name>
   <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
 ...

8. spring mvc default mapping handler    stackoverflow.com

Basically, using Spring MVC, I'm trying to create a router controller that will take any URL that hasn't already been handled by another controller and route it to its respective resource ...

9. Spring MVC 3.0 mapping extention    stackoverflow.com

I would like to have my Spring MVC application mapped to th following extention *html for jsp and *.action for controllers. this is for login page:

@RequestMapping(value="/login.html", method=RequestMethod.GET)
public ModelAndView login(){
    ...





10. How do I map static assets in my Spring app?    stackoverflow.com

I'm using Spring 3.0.5. I have all my static assets in a folder named "static" at the root of my web-app (at the same level as WEB-INF). How do ...

11. Trouble getting mapping to work    stackoverflow.com

I'm using Spring 3.0.5. None of my annotated controllers are getting recognized. I have XML for my application …

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://www.springframework.org/schema/beans"
    ...

12. having trouble with handler mappings using spring mvc    stackoverflow.com

I have a controller that has an onSubmit method. I changed the onSubmit method and now I get a routing error. I was looking around the internet and found ...

13. Problem with Spring MVC requestMethod mapping and multipart attachements    forum.springsource.org

Problem with Spring MVC requestMethod mapping and multipart attachements Hi, I think this might be a bug. I'm using Spring 3.0.5. I have a Spring form with attachements so I use ...

14. ModelAndView is not picking up values added to the map following instanciation    forum.springsource.org

ModelAndView is not picking up values added to the map following instanciation I have a small sample controller method and the behavior is atypical of other Java Collection classes. I expect ...

15. Json Mapping + MVC    forum.springsource.org

Json Mapping + MVC Hi all Im trying to post my json request to the following Code: @RequestMapping(value="/saveData", method = RequestMethod.POST) public @ResponseBody boolean saveData(@RequestBody WorkPackageData[] data){ System.out.println(data); return true; } ...

16. Basic Spring MVC Mapping    forum.springsource.org

Basic Spring MVC Mapping I am a fairly experienced Spring user attempting to do about the simplest thing possible with Spring MVC. Well, almost. I have an application that is almost ...





17. Multiple mvc:mappings?    forum.springsource.org

I want to define multiple mvc:mappings for a HandlerInterceptor. I tried doing this: Code: This doesn't ...

18. Spring MVC Multiple ModelAttibute wrong mapping    forum.springsource.org

Hi all, I am using webmvc 3.0.5.RELEASE and have 2 form beans Code: public class LoginForm { private String emailAddress; private String password; } Code: public class RegForm { private String ...

19. MVC Mapping Problem    forum.springsource.org

MVC Mapping Problem Hi, I'm simply trying to hit a jsp, and I don't understand why the mapping isn't working. If anyone could help me out with this it would really ...

20. Wildcard Mappings in Spring MVC?    forum.springsource.org

Wildcard Mappings in Spring MVC? I recently started developing new webapp using Struts2. Just now, i took short tutorial on Spring MVC. Spring MVC seems to be good choice for number ...

21. spring mvc mapping    forum.springsource.org

spring mvc mapping hi, i am working with webflow (2.0) integrated in mvc. the flow ist comming up with the first page. I try to press a button that should me ...

22. MVC 3 and root (home) mapping    forum.springsource.org

MVC 3 and root (home) mapping I'd like to have webapp's first document be served up from spring MVC. I could just redirect to a "home" servlet mapping from index.jsp, but ...

23. Why does @ModelAttribute change the handler mapping?    forum.springsource.org

@vw729: Switching the order has no effect. @Marten: The issue is that without the @ModelAttribute, Post form submissions are mapped (handled) by the method. With the @ModelAttribute, the Post submission is ...