| Author |
Struts and request
|
Georg Joo
Ranch Hand
Joined: Feb 24, 2004
Posts: 49
|
|
Hi I will give an URL some parameter. But I do not get this parameter in the action. In JSP: <bean efine id="mitarbeiterID" value="joo"/> <html:link page="/MitarbeiterDelete.do?&action=Action_delete" paramId="mitarbeiterID" >DEL </html:link> In action: request.getParameter("mitarbeiterID") What is wrong in this code ? Thanks Georg
|
SCJP, SCWCD, SCBCD<br /> <br />Vienna, Austria
|
 |
Chris Mathews
Ranch Hand
Joined: Jul 18, 2001
Posts: 2712
|
|
|
Moving to the Web Application Frameworks forum...
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26184
|
|
Georg, You need to set the paramName or paramValue attribute to go with the paramId. Otherwise, you are creating a parameter with the value null.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Struts and request
|
|
|