History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-31061
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Dmitry Avdeev
Reporter: Grant Gochnauer
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Urls for Spring are not resolving properly starting in 8769

Created: 04 Sep 08 23:30   Updated: 15 Oct 08 19:54
Component/s: J2EE.JSP
Fix Version/s: Diana 8940

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. Capture.JPG
(9 kb)
Environment: Windows Vista

Build: 8,769
Fixed in build: 8,912


 Description  « Hide
It seems that my URLs are no longer resolving in this build. See attached screenshot.

 All   Comments   Work Log   Change History      Sort Order:
Grant Gochnauer - 04 Sep 08 23:32
One thing that I noticed is that home.htm is defined using @Controller and @RequestMapping and if I replace "/home.htm" and do a ctrl-space in the double quotes, it suggests one url that I have defined explicitly in my spring xml. Thus it seems that it cannot resolve URL mappings defined in annotated controllers.

The JSP can find this URL:
<bean name="/sitemap.htm" class="org.springframework.web.servlet.mvc.ParameterizableViewController">
<property name="viewName" value="siteMapDef"/>
</bean>

The JSP cannot find the URL:
@RequestMapping("/home.htm")
public ModelAndView displayHomepage(HttpServletRequest request) throws Exception { }

One another thing to note: I'm using component-scan to load annotated controllers


Grant Gochnauer - 09 Sep 08 15:02
Dmitry –

This can be seen in the file I just uploaded to the FTP site: IDEADEV-29719_2.zip

Thanks


Grant Gochnauer - 08 Oct 08 16:04
Hi Dmitry –

Were you able to reproduce this one?

Thanks


Dmitry Avdeev - 08 Oct 08 16:20
Hi Grant,

yes I was.


Grant Gochnauer - 15 Oct 08 19:54
Confirmed fixed in 8911. Thanks!