Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

RequestDispatcher Problem

 
Abhishek Asthana
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
    Bookmark Topic Watch Topic
  • New Topic