Puzzling include problem

2001-03-14 Thread Mike Slinn
The following results in Jasper throwing NullPointerException when I try to include a JSP's output into a servlet's output by calling the following routine in the servlet code: void include(String path, HttpServletRequest req, HttpServletResponse res) throws ServletException {

Puzzling include problem

2001-03-14 Thread Mike Slinn
... never mind, I just discovered that if I invoke the servlet in the HTML form as: form method="post" action="/Validator/servlet/com.mslinn.Sequencer" class="formInput" Then I need to get rid of the "/servlet" part of the URL in the servlet's call to my include() method as follows: