Sony Thomas wrote:
Hi friends,
I am using ditchnet tabs in my project. I want to pass more than one
parameter through a link to my action class. I have used the following
code to pass the parameters.
<% java.util.Map paramMap = new
java.util.HashMap();
paramMap.put("id",id);
paramMap.put("locationId",locationId);
paramMap.put("parentChildTracker",parentChildTracker);
paramMap.put("forwardURL",forwardURL);
pageContext.setAttribute("paramMap",paramMap);
%>
But ditchnet tabs will not allow scriptlets inside the tabs. Is there is
any other way to pass more than one parameters to Action class. I am
stuck in something. So if anyone can send some clues or links that will
be helpful. Or some code example.
I don't know anything about ditchnet tabs, but you can replace your
scriptlet with JSTL tags something like this (untested):
<jsp:useBean var="params" type="java.util.HashMap"/>
<c:set name="params" property="id" value="${id}"/>
...
I'm sure I have the syntax wrong, but see the JSTL documentation and you
should be able to figure it out.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]