This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

forward request using requestdispatcher for servlets across projects  RSS feed

 
prithvim
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!