I think what you want is:
String type = request.getParameter("type");


-----Original Message-----
From: Lucas Gonzalez [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 14, 2004 12:01 PM
To: Struts Users Mailing List
Subject: Getting parameters from html:link

Hi!
Iīve been trying to get aditional parameters that came in a html:link that
with no success.

the link is this one

<html:link action="TrafficReport.do" name="notBilled">

and "notBilled" was aded to the request like this:
    public Map getNotBilled() {
      Map map = new HashMap();
      map.put("type", "NotBilled");
      return map;
    }

the problem is that when I do a
    request.getSession(true).getAttribute("type");
returns null always.

Thereīs anything iīm doing wrong? Iīve been reading the mailing lists, but
havenīt found something useful...

Best Regards,
Lucas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to