|
-- [ Picked text/plain from multipart/alternative ] Bruce, forwarding via the request dispatcher is relative to the context. So the way you are asking to do the forward, the servlet engine gets the context (default) and tries to invoke the jsp out of the default's doc root. The physical address it tries to use is /qibm/userdata/webasadv/default/hosts/default_host/default_app/web/webapp/mrcps/error. sp which of course is not there, and so it returns 404 (not found). What you need to do is something like this: RequestDispatcher rd = getServletContext(). getContext("/webapp/mrcps").getRequestDispatcher("error.jsp"); --
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.