This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RequestDispatcher Problem
 
Similar Threads
problem with session tracking
servlet path
RequestDispatcher Problem
request redirect
getRequestDispatcher problem