I found the problem. My original config file looked like this.
<command name="doSearch">
<controller
class="org.familysearch.prototypes.uiprototype2.ctl.Navigation"/>
<param name="Command" value="doSearch"/>
...
</command>
when it should have looked like this:
<command name="doSearch">
<controller class="org.familysearch.prototypes.uiprototype2.ctl.Navigation">
<param name="Command" value="doSearch"/>
</controller>
...
</command>
Stupid mistake. I guess that's why I'm called a "Newbie."
-Scott
>>> [EMAIL PROTECTED] 03/21/03 04:09PM >>>
> From: Scott Chun [mailto:[EMAIL PROTECTED]
>
> 1) I'm looking to access the Command name ( <command name="foo" ... ).
Is it sufficient to examine the HttpServletRequest object available from
the ControllerContext?
> 2) Mis-wrote the last question - getCtx() works fine, but getParams()
> returned
> a null.
That's odd. Can I see your snippet of config file for the command?
BTW, I recommend using the CVS copy of Maverick right now - the
getParams() method has been renamed to getControllerParams().
Jeff Schnitzer
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
[INVALID FOOTER]
------------------------------------------------------------------------------
This message may contain confidential information, and is intended only for the use of
the individual(s) to whom it is addressed.
==============================================================================
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
[INVALID FOOTER]