Re: senfing query strings in action forward

2002-08-29 Thread dmitry
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

RE: senfing query strings in action forward

2002-08-29 Thread Jacob Hookom
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,

Re: senfing query strings in action forward

2002-08-29 Thread Billy Ng
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

Re: senfing query strings in action forward

2002-08-29 Thread dmitry
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

senfing query strings in action forward

2002-08-29 Thread dmitry
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

Re: Best practices regarding query strings and actions

2001-10-03 Thread Ted Husted
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

Re: Best practices regarding query strings and actions

2001-10-03 Thread Mike Bridge
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/

Re: Best practices regarding query strings and actions

2001-10-03 Thread 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 t

Re: Best practices regarding query strings and actions

2001-10-03 Thread Mike Bridge
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]>

Re: Best practices regarding query strings and actions

2001-10-03 Thread Ted Husted
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

Best practices regarding query strings and actions

2001-10-03 Thread chiji nwankwo
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

Query Strings

2001-08-31 Thread Glenn Kidd
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

Re[2]: struts tags with URL#anchor + query strings -> no-go

2000-11-20 Thread Matthias Kerkhoff
> 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

Re: struts tags with URL#anchor + query strings -> no-go

2000-11-20 Thread Craig R. McClanahan
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

struts tags with URL#anchor + query strings -> no-go

2000-11-20 Thread Matthias Kerkhoff
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