Thank you, Vincent! It helps. Alexander -----Original Message----- From: "Vincent Massol" <[EMAIL PROTECTED]> To: "'Cactus Users List'" <[EMAIL PROTECTED]>,"'Alexander Lepekhine'" <[EMAIL PROTECTED]> Date: Tue, 27 Aug 2002 22:34:04 +0100 Subject: RE: Can not find request dispatcher
> > 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. > > -Vincent > > > -----Original Message----- > > From: Alexander Lepekhine [mailto:[EMAIL PROTECTED]] > > 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- > > [EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:cactus-user- > > [EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
