12:46 PM
> | To: [EMAIL PROTECTED]
> | Subject: Re: senfing query strings in action forward
> |
> | I don't know if this is the right way to handle this, but it works for
> me.
> |
> | ActionForward af = mapping.findForward(forward_name);
> | af.setPath(path/user.jsp?use
utes,
while the Actions look for params.
| -Original Message-
| From: Billy Ng [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, August 29, 2002 12:46 PM
| To: [EMAIL PROTECTED]
| Subject: Re: senfing query strings in action forward
|
| I don't know if this is the right way to handle this,
ot; <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: senfing query strings in action forward
>Date: Thu, 29 Aug 2002 13:12:15 -0400
>
>I'm trying to figure out how to forward success action to a jsp page
>with parameters. For example,
>I have a user.jsp page th
Found the answer:
return new ActionForward(mapping.findForward("success").getPath() +"?user_id=" +
iserId);
Dmitry A.
dmitry wrote:
> I'm trying to figure out how to forward success action to a jsp page
> with parameters. For example,
> I have a user.jsp page that shows user information, but
I'm trying to figure out how to forward success action to a jsp page
with parameters. For example,
I have a user.jsp page that shows user information, but it needs to be
invoked with user_id parameter like this:
user.jsp?user_id=100
When creating a new user, my action does all the db related stu
I never understood why it would work in the first place. I'm sure the
ActionServlet is getting the extra information, but it's trying to match
the URI against one of the mappings defined in the config file. So I
think we would have to change the way the controller looks up the URI's,
and deal with
I gave that a shot just now on the struts build from yesterday,
with:
http://www.test.com:8080/mywebapp/do/getClipper/test
and I get the same error that is described in the url
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg12716.html:
Error: 400
Location: /mywebapp/do/
Husted dot Com, Fairport NY USA.
> > -- Custom Software ~ Technical Services.
> > -- Tel +1 716 737-3463
> > -- http://www.husted.com/about/struts/
> >
> > chiji nwankwo wrote:
> > >
> > > Hi,
> > >
> > > Is there a recommended way t
716 737-3463
> -- http://www.husted.com/about/struts/
>
> chiji nwankwo wrote:
> >
> > Hi,
> >
> > Is there a recommended way to map query strings to actions so that
> > their values are not displayed in the address bar.
> >
> > eg
> >
> > http://www.test.com/do/getClipper?action=search&pageNumber=12
> >
> > Thanks
--
Mike Bridge
<[EMAIL PROTECTED]>
ot much to be done about it
;-(
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
chiji nwankwo wrote:
>
> Hi,
>
> Is there a recommended way to map query strings to actions so th
Hi,
Is there a recommended way to map query strings to actions so that their values are not displayed in the address bar.
eg
http://www.test.com/do/getClipper?action=search&pageNumber=12
Thanks
ChijiGet your FREE download of MSN Explorer at http://explorer.msn.com
Hi,
I am currently writing a Struts app that is a wizard like form that is
similar to the flow below:
setup.jsp -> timezone.jsp -> some_other_page.jsp -> finish.jsp
All views store their data in the same ActionForm and post to the same
Action class. The Action class merely sends the user on t
> The servlet 2.2 spec requires that the session id be passed as a *path*
> parameter (separated from the base URI by a semicolon), not a *query*
> parameter. Was it WebLogic or one of the other servers that was also not doing
> this right.
Yes I know. I had some weeks ago a lengthy discussion w
Matthias Kerkhoff wrote:
> Hi'ya - I've just discovered a widespread problem in most
> struts tags. Nearly all tags will fail to handle anchors
> (that's a kind of intra-document reference) properly.
> Anchors have to be the last part of an URI/URL - even
> if a query string is present. Because s
Hi'ya - I've just discovered a widespread problem in most
struts tags. Nearly all tags will fail to handle anchors
(that's a kind of intra-document reference) properly.
Anchors have to be the last part of an URI/URL - even
if a query string is present. Because struts, as most
other taglibs appends
15 matches
Mail list logo