PathVariable « Core « Spring Q&A





1. PathVariable problem    forum.springsource.org

Aug 1st, 2011, 04:49 AM #1 romain.vdk View Profile View Forum Posts Private Message Junior Member Join Date Mar 2010 Posts 26 PathVariable problem Hi everyone, I post that here as ...

2. Missing something with PathVariable?    forum.springsource.org

Hello everyone, I'm trying to use the PathVariable annotation so I can construct URIs with parameters... I'll have to add the rest after this post, the system doesn't let me add ...

3. PathVariable and points within strings    forum.springsource.org

Hello, I am using an annotated controller: Code: @RequestMapping(value = "/app/{packageName}/icon.png", method = RequestMethod.GET) @ResponseBody public Blob getAppIcon(@PathVariable String packageName) { App app = appDAO.find(packageName); return app.getIcon(); } My problem is, ...

4. PathVariable not resolved    forum.springsource.org

5. Problem with PathVariable    forum.springsource.org

Problem with PathVariable Hi, I am having a weird problem trying to post some string and binding it in the controller using the @PathVariable. Javascript Code ============= Code: $.post('/Forge/units/'+unitCode+'/updatelo/'+lobjOld, function(data){} ); ...

6. How to make an optional pathvariable?    forum.springsource.org

Hi, I'm using Spring 3.0 with Tomcat 6.0.26 (Java 1.6). I defined this method in my controller ... Code: @RequestMapping("/accommodations/hotel-details/{id}/viewDeal/{viewDeal}") public String hotelDetails(@PathVariable("id") final String id, @PathVariable("viewDeal") final String viewDeal, final ...

7. PathVariable and trees    forum.springsource.org

PathVariable and trees Hi guys, I have the url structure: /tree/category/category/*/category/leaf i.e. a tree with any number of subcategories. I would really like to map this using a PathVariable that returns ...

8. PathVariable question    forum.springsource.org

PathVariable question Hello, I have multiple controllers with the same path variables, in example: Controller 1 /app/{alias}/invoices mathods /app/{alias}/invoices/list.html /app/{alias}/invoices/add.html /app/{alias}/invoices/delete.html Controller 2 /app/{alias}/tasks mathods /app/{alias}/tasks/list.html /app/{alias}/tasks/add.html /app/{alias}/tasks/delete.html Is there a ...