I have a spring 3.1 portlet which works perfectly in liferay and websphere 7... When I update spring to 3.2(no spring 3.1 libraries exist anymore) the portlet no longer works completely in websphere, but works perfectly fine in liferay.
In websphere I can bring up the initial page of the portlet, the problem is when I submit the form I get the error below
Error 404: SRVE0190E: File not found: /wps/myportal/!ut/p/b1/04_SjzQyNjI3MrSwMNeP0I_KSyzLTE8syczPS8wB8aPM4oPDfE 1CnAJNDd2NfJwNPM0twkI9jByNDAzMgAoikRX4uwe6GHi6hgWa uXmEGLr7GVGm39mYOP0GOICjASH94fpRqEqw-ACvgmBzAgpAfgArwONIP4_83FT93KgcNzdLz8yAdEVFALgB75o !/pw/Z7_SVM4TBQ518M2F0I7Q6H7S62006/ren/p=submit=submit/-/
It does not look like the request even hits spring, no exceptions are produced from my app.
A cut down version of my code is below
cut down verion of the JSPCode:@Controller("titleSearchController") @RequestMapping("VIEW") public class TitleSearchController { ... // THIS WORKS FINE @RenderMapping(params = "reset=true") public String showIndexPage(Model model) throws Exception { return "home"; } @RenderMapping(params="submit") public String submitForm(@ModelAttribute("command") LandTitleCriteria landtilecriteria, BindingResult bindingResult, WebRequest request, Model model) throws Exception { model.addAttribute("command", landtilecriteria); .... return "home"; } ... }
HTML Code:<portlet:renderURL var="go"> <portlet:param name="submit" value="submit"></portlet:param> </portlet:renderURL> <form:form id="form" class="form-horizontal" commandName="command" action="${go}" onsubmit="return SubmitForm()" htmlEscape="false"> ... </form:form>
Any ideas why I get the error?


Reply With Quote