Matt:
You need to give it the full virtual pass and it will work,
....getRequestDispatcher("/Full/Virtual/Pass/test.jsp");
Hope this helps,
Reza
-----Original Message-----
From: Matt Bromley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 13, 1999 6:23 PM
To: [EMAIL PROTECTED]
Subject: Problems calling JSP from servlet (easy question)
This should be easy, but I can't seem to figure out what's going on
(wrong).
I've got a jsp page, test.jsp - which works fine (gets compiled and
executes
correctly), however when I try to call it from a servlet, JRUN throws up
java.lang.NullPointerException:
at com.livesoftware.jrun.plugins.jsp.CodeInfo.<init>(CodeInfo.java)
at com.livesoftware.jrun.service.ThreadConfigHandler.run(Compiled Code)
.................
..................
The servlet is very simple, basically:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class LibList extends HttpServlet {
public void service (HttpServletRequest req, HttpServletResponse res)
throws IOException, ServletException
{
RequestDispatcher rd =
getServletContext().getRequestDispatcher("test.jsp");
rd.forward(req,res);
}
Other bits and bobs:
JRUN2.3 (build 145)
PWS 4.0
NT 4.0 SVP4.
Any help greatly appreciated (before I throw my machine out of the
window)
...Matt
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".