struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.Liang Liu " <patriot...@gmail.com>
Subject How to carry parameters to action: login.do?action=add&id=123
Date Sun, 04 Jun 2006 06:59:06 GMT
I just want to  carry parameters to action :login.do
I will make use of  the url   .../login.do?action=add&id=123 in the other
page as a link.
And I want  to get those parameters using: request.getAttribute("action");

request.getAttribute("id");
to get them.

However,it does NOT work.

I would like to know can I use a url like  .../login.do?action=add&id=123

If not,how can I carry two parameters to an action?

Thank you.

-- 
Why Signature?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message