Hi.
Is there a way to pass parameters to another JSP, using c:import tag,
that are not type String.
I'm trying to pass object type java.util.Map.
Example:
<c:import
url="${acsAMDir}/${amParam.authModuleName}/am.jsp"> <c:param
name="map" value="${mymap}"/>
</c:import>
mymap is java util.Map.
Thanks.
Alan
bharat_sharma_5005@yahoo.co.in - 17 Oct 2006 11:51 GMT
> Hi.
> Is there a way to pass parameters to another JSP, using c:import tag,
[quoted text clipped - 8 lines]
> Thanks.
> Alan
bharat_sharma_5005@yahoo.co.in - 17 Oct 2006 12:01 GMT
On Oct 17, 3:51 am, bharat_sharma_5...@yahoo.co.in wrote:
> > Hi.
> > Is there a way to pass parameters to another JSP, using c:import tag,
[quoted text clipped - 8 lines]
> > Thanks.
> > Alan- Hide quoted text -- Show quoted text -
bharat_sharma_5005@yahoo.co.in - 17 Oct 2006 12:02 GMT
On Oct 17, 3:51 am, bharat_sharma_5...@yahoo.co.in wrote:
> > Hi.
> > Is there a way to pass parameters to another JSP, using c:import tag,
[quoted text clipped - 8 lines]
> > Thanks.
> > Alan- Hide quoted text -- Show quoted text -
alan_sec - 17 Oct 2006 12:35 GMT
Manish Pandit - 17 Oct 2006 21:45 GMT
Hi Alan,
Since the params are passed as strings (querystrings to give you a
comparison), you cannot pass objects this way. What you need is to
model am.jsp as a tag file, and invoke the tag, passing it *attributes*
that can be objects, and not *params*. You can find information on tag
files at a lot of sites, but this article may very well help you right
away:
http://www.onjava.com/pub/a/onjava/2004/05/12/jsp2part4.html
-cheers,
Manish
alan_sec - 18 Oct 2006 06:57 GMT
Thanks. I'll look in to it.