aspose file tools*
The moose likes JSP and the fly likes regarding  jsp:param  tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "regarding  jsp:param  tag" Watch "regarding  jsp:param  tag" New topic
Author

regarding jsp:param tag

A Babu
Ranch Hand

Joined: Nov 28, 2005
Posts: 114
hi all,

see the sample code below,


in this code for "026" value corresponding "desgcode" is coming,

now my question is i want to get different "desgcodes" for different "values".
can i put more than one "value" in value="" element.if not how can i achive.

please help.

cheers,
babu.


Thanks,
www.Admakr.in
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

You will have to give multiple params each with the same name and different value.

The precednce would be in the order you give them. In the above example, it would 026 and then 027

And if the original request originally contained a parameter called desgCode with a value of say '025', that too would be visible to the included/forwarded page and its precedence would be at the end (026, 027, 025).

cheers,
ram.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61206
    
  66

Actually the order would be non-deterministic.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regarding jsp:param tag