aspose file tools*
The moose likes Servlets and the fly likes forward request using requestdispatcher for servlets  across projects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "forward request using requestdispatcher for servlets  across projects" Watch "forward request using requestdispatcher for servlets  across projects" New topic
Author

forward request using requestdispatcher for servlets across projects

prithvim
Greenhorn

Joined: Jul 06, 2001
Posts: 1
hi.
can anyone please tell me how to forward request to a servlet in iplanet Application Server from another servlet
Consider this scenario
there are two projects project1 and project2
project1 has servlet1
project2 has servlet2
servlet1 has to forward request to servlet2. i did it like this
getServletContext().getRequestDispatcher("Project2/servlet2").forward(request,response);
this is the error it gives
error: SERVLET-fileext_not_set: Extension of file not found, while displaying static content
that method works perfectly on Netscape Application Server
can any one give me a solution to this problem??
thanx in advance
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"prithvim",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: forward request using requestdispatcher for servlets across projects
 
Similar Threads
requestdispatch - servlet to servlet in iplanet( anyone plzzzzzzz!!!!)
running a servlet without IDE
inter servlet communication
servlet redirection
how to forward dispatcher requests in servlets across projects (iplanet)