View Full Version : Where is multipart and other stuff in 2.5.3
testing123
May 6th, 2008, 03:05 PM
Where did these two classes go? What should I use instead?
1. org.springframework.web.multipart.support.DefaultM ultipartHttpServletRequest
2. org.springframework.web.servlet.DispatcherServlet
testing123
May 6th, 2008, 03:35 PM
I am sure its just a package change, can someone point me to where its new location is?
spiff
May 6th, 2008, 04:01 PM
They're still in the same packages:
http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/multipart/support/DefaultMultipartHttpServletRequest.html
http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/servlet/DispatcherServlet.html
They are now part of the spring-webmvc library.
Cheers,
GB
testing123
May 6th, 2008, 04:34 PM
First off, thanks for the reply. I am upgrading from 2.0, I guess it was part of the spring.jar back then but is now separate? Thanks again for the help, in the future where would I go in order to see what is included in what jar (without ofcourse unjar everything)?
spiff
May 6th, 2008, 04:54 PM
I've just checked the new spring.jar and you're right that it doesn't include these classes. I've been using the module libraries (spring-core.jar, spring-beans.jar, etc.) since 2.0 so if anything was removed from the main spring.jar file I wouldn't know.
As for knowing what is where, I'm checking the JAR contents manually. Maybe it's documented somewhere, but I haven't looked for it.
Cheers,
GB
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.