In which Wildbook did the issue occur? Wildbook for Lynx
What operating system were you using? Win 11
What web browser were you using? Brave 1.87.191
What is your role on the site? Admin
What happened? When clicking on encounter links (specifically after searching for older encounters), the system redirects to a legacy JSP URL:
https://lynx.wildbook.org/encounters/encounter.jsp?number=[UUID]
This results in an HTTP Status 500 – Internal Server Error. The stack trace indicates a missing resource: javax.servlet.ServletException: JSP file [/photoswipe/photoswipeTemplate.jsp] not found.
What did you expect to happen? I expected to be directed to the modern React-based encounter page:
https://lynx.wildbook.org/react/encounter?number=[UUID]
What are some steps we could take to reproduce the issue?
1. Log in as Admin.
2. Perform a search for older encounters.
3. Click on one of the encounter results.
4. Observe that the URL points to /encounters/encounter.jsp and fails with a 500 error instead of using the /react/ path.
Error Stack Trace: ``` org.apache.jasper.JasperException: javax.servlet.ServletException: JSP file [/photoswipe/photoswipeTemplate.jsp] not found at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:593) … at org.ecocean.servlet.StrutsUTF8Filter.doFilter(StrutsUTF8Filter.java:13) causa raíz: javax.servlet.ServletException: JSP file [/photoswipe/photoswipeTemplate.jsp] not found