0

how can I call another jsp page on my aws codestar java web app?

Wanna go to another page when i click the submit button on my index.jsp page, the built and deployment was successful, but when i click the submit button there's an Http 404 error "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists." The weird part is the App works perfectly on my local host..

9th Mar 2020, 6:25 PM
Kosine
Kosine - avatar
1 Answer
0
I assume if you are using a spring MVC application. If yes, you need to add your new page with a JSP file and then you need to update your dispatcher XML . Then you need to write a controller class with return of modelAndView object with set your view name.
25th Apr 2021, 5:29 PM
Pamidisetti Manikanta
Pamidisetti Manikanta - avatar