You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kamholz, Keith (corp-staff) USX" <kk...@moog.com> on 2003/07/08 19:43:55 UTC

Multiple Dynamic Parameter Alternatives

Hey everyone,
I need to use multiple dynamic parameters for some of my links, and I have
this working nicely using a map.  Unfortunately, my boss doesn't like
scriptlets in the JSP pages, and wants me to find out about any
alternatives.  It's alright if there aren't, but I have to at least try to
find some!  So does anybody know of any alternate ways of generating
multiple dynamic parameters other than using a scriptlet to fill a map?  I
belive There are JSTL tags that can fill a map, but we don't even know what
JSTL is... I just saw the example in a previous post.
Thanks in advance!

- Keith



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Multiple Dynamic Parameter Alternatives

Posted by Kris Schneider <kr...@dotech.com>.
Speaking of examples, the thread you recently posted to, "<html:link /> - add
parameters", would be a fine place to start:

http://marc.theaimsgroup.com/?t=105652900000004&r=1&w=2

It includes pointers to info on JSTL...

Quoting Kris Schneider <kr...@dotech.com>:

> Two non-scriptlet alternatives are to use JSTL or to set up the map (or maps)
> in
> an action before forwarding to the JSP. There should be *plenty* of JSTL
> and
> <html:link> examples in the archives.
> 
> Quoting "Kamholz, Keith   (corp-staff) USX" <kk...@moog.com>:
> 
> > Hey everyone,
> > I need to use multiple dynamic parameters for some of my links, and I
> have
> > this working nicely using a map.  Unfortunately, my boss doesn't like
> > scriptlets in the JSP pages, and wants me to find out about any
> > alternatives.  It's alright if there aren't, but I have to at least try
> to
> > find some!  So does anybody know of any alternate ways of generating
> > multiple dynamic parameters other than using a scriptlet to fill a map? 
> I
> > belive There are JSTL tags that can fill a map, but we don't even know
> what
> > JSTL is... I just saw the example in a previous post.
> > Thanks in advance!
> > 
> > - Keith
> 
> -- 
> Kris Schneider <ma...@dotech.com>
> D.O.Tech       <http://www.dotech.com/>

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Multiple Dynamic Parameter Alternatives

Posted by Kris Schneider <kr...@dotech.com>.
Two non-scriptlet alternatives are to use JSTL or to set up the map (or maps) in
an action before forwarding to the JSP. There should be *plenty* of JSTL and
<html:link> examples in the archives.

Quoting "Kamholz, Keith   (corp-staff) USX" <kk...@moog.com>:

> Hey everyone,
> I need to use multiple dynamic parameters for some of my links, and I have
> this working nicely using a map.  Unfortunately, my boss doesn't like
> scriptlets in the JSP pages, and wants me to find out about any
> alternatives.  It's alright if there aren't, but I have to at least try to
> find some!  So does anybody know of any alternate ways of generating
> multiple dynamic parameters other than using a scriptlet to fill a map?  I
> belive There are JSTL tags that can fill a map, but we don't even know what
> JSTL is... I just saw the example in a previous post.
> Thanks in advance!
> 
> - Keith

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org