tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luc Margaron <luc.marga...@metrixsystems.com>
Subject FRAMESET and request
Date Wed, 31 May 2000 06:50:30 GMT
Hello,

I have a file index.html which is a FRAMESET containg two frames f1.jsp
and f2.jsp

Then I have a servlet which forward the response to index.html and put a
parameter in the request

   req.setAttribute ("lang", "english");
  RequestDispatcher dispatcher =
        getServletContext().getRequestDispatcher("/index.html");
          dispatcher.forward(req, res);

The problem is that only  index1.html can access the request.
If I do request.getAttribute ("lang") in f1.jsp or f2.jsp I get null.
How can I forward the request object to many frames without using a
session ?


--
Luc Margaron
Metrix Development
Tel   : (+33) 4 92 94 24 17
Fax   : (+33) 4 92 94 24 91



Mime
View raw message