hello,
here is my problem, i've got a servlet called by a porlet and i want to get 2 different values: one in parameter, which is not a pb, and one passing as an attribute...
i've done a :
rReq.getPortletSession().setAttribute("listImage", m);
rReq is my javax.portlet.RenderRequest and m is an java.util.Map... then i do:
Enumeration en = rReq.getPortletSession().getAttributeNames(); while (en.hasMoreElements()) { System.out.println(en.nextElement()); }
to check that my attibute is passed, and it is...
but after, with :
protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { Enumeration en = req.getSession().getAttributeNames(); while (en.hasMoreElements()) { System.out.println(en.nextElement()); } }
no information is returned, there's nothing in my attributes...
i thought by reading the jsr-168 specs that a portlet and a sevlet were sharing the same session??
thx, Luc
-- Luc FOUIN - Stagiaire Aptiwan 14 rue Niepce 75014 Paris Tél : 06 77 95 17 24 Mél : [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]