When i try the codes above, I get this error:
java.lang.IllegalArgumentException: Path ../jsp/transactionDisplay.jsp does not start with a "/" character
at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:570)
at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:174)
at TransactionHandler.doPost(TransactionHandler.java:21)
..................................
.........somemore error codes......
When I replace the relative url with absolute url, I still get the following error:
java.lang.IllegalArgumentException: Path
http://localhost:8080/examples/jsp/transactionDisplay.jsp does not start with a "/" character
at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:570)
at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:174)
....................................
What will the correct codes look like?