This week's book giveaway is in the
We're giving away four copies of
and have John Sonmez on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Forwarding request out side the web application using RequestDispatcher
Joined: Dec 12, 2006
Feb 27, 2007 23:58:00
can i forward request outside my application using
??? If Yes How ?
here it will take ralative path...that is somewhere from my .war file.
RequestDispatcher view = req.getRequestDispatcher("result.jsp");
And in this case it will start from the room of my web application...
RequestDispatcher view = req.getRequestDispatcher("/result.jsp");
than how can i forward a request outside my web application like..
Joined: Dec 11, 2004
Feb 28, 2007 04:23:00
You can't, if you want to send the user to a resource outside of your app server, use response.sendRedirect.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: Forwarding request out side the web application using RequestDispatcher
HttpSession in JSP
Communication between Two web application Problem.
Request Resource not available JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014