This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes RequestDispatcher Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

RequestDispatcher Problem

Abhishek Asthana
Ranch Hand

Joined: Sep 08, 2004
Posts: 146
Hi,
I am working on JBoss 3.2.1.
I have a module Validation which has a servlet SystemController.java
Code:

HttpSession session = request.getSession(true);
System.out.println(loggerIdentity);
//System.out.println(postedAt);
session.setAttribute("LoggerIdentity", loggerIdentity);
session.setAttribute("PostedAt",postedAt);
RequestDispatcher rd = request.getRequestDispatcher("../InformationSystem/ISController");
System.out.println(rd);
rd.forward(request, response);




This servlet calls another servlet ISController, in InformationSystem module.
But when I print rd it comes null.
Can anyone please tell me how to call the ISController .
Asty.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: RequestDispatcher Problem
 
Similar Threads
problem with session tracking
servlet path
RequestDispatcher Problem
request redirect
getRequestDispatcher problem