Home>

Is it possible to transition from jsp to another jsp with href?
Actually, when I did it myself, I couldn't get 404, but can I make a transition if the paths match well?
There is no need to pass a value in particular, and it is only necessary to make a transition, but it will not work.
If there are other ways, please let me know.

jsp
  • Answer # 1

    Of course, if there is a path, you can transition, but resources in WEB-INF will not be accepted unless they are registered in web.xml.
    In general, the transition to JSP placed in WEB-INF is done via a servlet.
    If you do not need to perform JSP pre-display processing in the servlet, you can refer to it directly by placing it in WebContent etc. without placing JSP in WEB-INF.

Trends