Geoff,
The null pointer exception will occur when you try to forward to a URL that
the servlet container can't resolve. Remember that you need to specify a
path that is relative to your current web application.

Regards,

Richard

At 02:59 PM 11/18/2002 -0500, you wrote:
Does anyone have any experience implementing ServletExec with IIS5.0, I
currently have it set up and running and any servlets I create run fine,
with one exception:

When I create a servlet that uses "RequestDispatcher" to forward HTML form
data to another HTML page the servlet engine seems to fail.  I receive the
following error when trying to reach the servlet:

Error. The server encountered an unexpected condition which prevented it
from fulfilling the request.

java.lang.NullPointerException
        at TestServlet.processUser(TestServlet.java:51)
        at TestServlet.doGet(TestServlet.java:13)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
com.newatlanta.servletexec.ServletExec.CallServletService(ServletExec.java:1
679)
        at
com.newatlanta.servletexec.ServletExec.processServletRequest(ServletExec.jav
a:1654)
        at
com.newatlanta.servletexec.ServletExec.standardServletRequest(ServletExec.ja
va:1548)
        at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1330)
        at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1113)



When I use "sendRedirect". It works fine.  What I am trying to accomplish is
to build a servlet that will forward requests to other HTML pages and JSPs
depending on the hidden name value that gets passed.  Anyone who has
experience with ServletExec and replies to this, I will describe the errors
in greater detail.

Any help would be greatly appreciated

Geoff

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to