Can you change the above bean name to /coupon/list.htm and check once?
Joseph Sweet wrote:
Everything used to work before I upgraded the jar's.
Are you sure it was working before? I don't think so..
Joined: Jan 29, 2005
Hi, I do not see how changing the name to a more specific one could help. But anyway I just tried it and I still get the same result.
Also, I should mention that my controller does not use annotations.. it looks like this:
BTW I am sure it used to work before upgrading the jar's. I've been working on this project during the last couple of weeks so I'm pretty sure I remember it working.
If you think my code did not use to work up to now then what is there in it that is mistaken?
I didn't know, that you are using MultiActionController, so told you to use specific one.
In the method signature to
Here we have used Command object instead of Coupon object, inside the method, you can typecast it to Coupon class..
P:S: Since you tell, it was working earlier, are you sure, you are using MultiActionController of servlet package and not portlet package here..
Joined: Jan 29, 2005
Why do you say that using a MultiActionController requires a specific name...? It is supposed to be able to deal with more than one name.
And I do not understand how what you suggest about the portlet package is possible... when I use MultiActionController I import the one that belongs to the right package (the one that used to work until a few days). I did not change my code at all, nor did I change the import statements. If this package had not been in the new jars then I would have received an exception... but I get no exception as I said.. only a warning and that 404 HTTp error.
I know the controller interfaces are deprecated now.. I was thinking to upgrade them at some point in the near future. However as far as I know they still should basically work in 3.0.5... is this not the case? They are included in the jars.
Also, I have another question regarding these jars... some repositories have these jars with the older(?) package names. Like here:
Why do they do it and who actually distributes Spring with two different sets of jar names? The same version of Spring (3.0.5.RELEASE) appears in the first repository with names like spring-XXX-3.0.5.RELEASE while in the second repository these jars appear with names like org.springframework.XXX-3.0.5.RELEASE.
Also, I have noticed that the servlet jar appears as "webmvc" in the first repository and as "web.servlet" in the second repository.