Good point :-D. I haven't used that feature. So, it wansn't on the forefront
of my mind.

However, there are some legitimate times to provide non-form based runtime
info to the action class. The technique expressed by Jerome is great. Also,
Jerome's technique is good for those who do not use jsp tags.

Jerome's Technique:
http://shorl.com/dutydapedroho

Brandon Goodin
Phase Web and Multimedia
PO Box 85
Whitefish MT 59937
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws


-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:58 AM
To: [EMAIL PROTECTED]
Subject: Re: ActionMapping enhancement?


>Default parameters that are contained in a url querystring get difficult to
>handle. It is nice to be able to change them in one place when needed. This
>avoids having to pillage through every page that may contain a reference to
>a partical url/querystring combo and adjust the parameters rather that just
>one.

Couldn't you define a forward in struts-config that contained your default
query string parameters?  Then you could change it in one place by using the
<html:link> tag to lookup the forward.

David


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to