Just put it in as a Global Forward, something like this
<forward name="itemFindScript"
path="/do/item/Search?column=script"/>
or in your case
<forward name="something"
path="/do/Something?mode=21"/>
or, using extension mapping
<forward name="something"
path="/Something.do?mode=21"/>
You can also refer to Global Forwards in the link tag, and Struts will
append any other parameters you supply (paramID, paramProperty).
Bhamidi Krishna wrote:
>
> Hi,
>
> I have an elementary question. I want to encode the URL of my jsp page that
> I call using findForward() say something like a mode parameter.
>
> So my jsp url will look like:
> http://localhost:8080/someURL/doSomething?mode=21
>
> How can I do that?
>
> Krishna
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/