jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: Can not find request dispatcher
Date Tue, 27 Aug 2002 21:34:04 GMT
Hi Alexander,

As you are not using an absolute URI (i.e. you're not using
"/errorpage.jsp"), it means that your jsp location will be relative to
the request. In addition, if you have used the setURL() method in
beginXXX(), Cactus will use that to compute the absolute path where to
look for errorpage.jsp.

A good way to know what Cactus is actually looking for is to turn cactus
logging on. You will then be able to see the following in the logs:

Computed full path : [xxxxx]

I highly recommend to use absolute URL whenever possible.


> -----Original Message-----
> From: Alexander Lepekhine [mailto:papun@mail.ru]
> Sent: 27 August 2002 07:36
> To: Cactus User List
> Subject: Can not find request dispatcher
> Hi!
> I have a little problem with cactus:
> When I found an error I explicitly redirect it to errorpage.jsp.
> This code works in the application without any problems.
> If cactus test meets this condition it gives null pointer exception.
> Debugging messages points to code
> request.getRequestDispatcher("errorpage.jsp")
> which gives null in cactus environment.
> Can I do something for workaround it?
> Alexander
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>

To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>

View raw message