I have an annoying problem that has arisen when deploying a simple web-app to OC4J - it seems. The setting is the following: i have a Login-jsp that after successful login and a subsequent "submit" should bring us to another form - a JobSubmissionForm.jsp. Now, I must confess there was enough hassle when deploying to Tomcat, but after browsing this forum I found the fix, namely that I had to put in a redirect in between the LoginController and the JobSubmissionForm.
Now, the exact same problem has arisen on deployment to OC4J! What's the deal?! Could it have something to do with the way OC4J resolves the JSP...? Note that the JobSubmissionForm.jsp works perfectly when called directly by means of pasting in an URL in the browser! I'd really appreciate som constructive feed back on this. I've checked the log and there are no complaints wrt binding and the like.
Snippets of code:
1. in LoginController.onSubmit()
return new ModelAndView(getSuccessView(), "jobSubmitCommand", jobSubmitCommand);