Re: Query string in struts-config.xml

2001-06-25 Thread Tom Miller
Ted I'm not following entirely, or something may be missing here. Where is the parameter name, in your case task specified? I don't see it in the action specification. Also, where is this feature in the documentation? TIA Tom Miller Ted Husted wrote: Another approach is to pass the query

Re: Query string in struts-config.xml

2001-06-25 Thread Ted Husted
The parameter property is not mentioned in the Users Guide (yet), but it is in the JavaDocs. The parameter here was just the value select. I call it task inside the Action, to leave the option of passing ?task=select as a query string. Of course, you could also call it parameter internally, and

Re: Query string in struts-config.xml

2001-06-25 Thread Tom Miller
Very good! Is there a way to pass a Map of parameters in this way, or is it just a single one? Tom Ted Husted wrote: The parameter property is not mentioned in the Users Guide (yet), but it is in the JavaDocs. The parameter here was just the value select. I call it task inside the

Re: Query string in struts-config.xml

2001-06-25 Thread Ted Husted
It's a string, so you would have to parse it to extract multiple values. Tom Miller wrote: Very good! Is there a way to pass a Map of parameters in this way, or is it just a single one? Tom

Re: Query string in struts-config.xml

2001-06-24 Thread Ted Husted
Another approach is to pass the query string options using the parameter property of the action mapping, and then looking for them in your action. So, passing a parameter like task=select could also be represented as: action parameter=select

RE: Query string in struts-config.xml

2001-06-18 Thread Jon.Ridgway
- From: Jacob Thomas [mailto:[EMAIL PROTECTED]] Sent: 15 June 2001 18:08 To: '[EMAIL PROTECTED]' Subject: Query string in struts-config.xml Is there a way to a specify a query string as part of the path attribute in the forward tag within an action? Example: forward name=command path=/context

RE: Query string in struts-config.xml

2001-06-18 Thread Jacob Thomas
/ Based on your and Craig's feedback, I take it that this is now supported. -- Thanks Jacob -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 3:02 AM To: [EMAIL PROTECTED] Subject: RE: Query string in struts-config.xml Hi Jacob, What you have

RE: Query string in struts-config.xml

2001-06-18 Thread Craig R. McClanahan
=value1amp;param2=value2 .../ -- Thanks Jacob Craig -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 3:02 AM To: [EMAIL PROTECTED] Subject: RE: Query string in struts-config.xml Hi Jacob, What you have below will work. Indeed

Query string in struts-config.xml

2001-06-15 Thread Jacob Thomas
Is there a way to a specify a query string as part of the path attribute in the forward tag within an action? Example: forward name=command path=/context/page.jsp?param=value/ -- Thanks Jacob

Re: Query string in struts-config.xml

2001-06-15 Thread Craig R. McClanahan
Just like you did should work fine. Craig On Fri, 15 Jun 2001, Jacob Thomas wrote: Is there a way to a specify a query string as part of the path attribute in the forward tag within an action? Example: forward name=command path=/context/page.jsp?param=value/ -- Thanks Jacob

RE: Query string in struts-config.xml

2001-06-15 Thread Simon Liang
Hi guys: I consider myself fairly new to Strut. I have done a login flow that allows user to edit his/her profile. The login workflow is simple using the Struts framework: Map the login screen form to a form bean, then the action bean login the user and forward to the useredit.jsp upon a

RE: Query string in struts-config.xml

2001-06-15 Thread Craig R. McClanahan
On Fri, 15 Jun 2001, Simon Liang wrote: Hi guys: I consider myself fairly new to Strut. I have done a login flow that allows user to edit his/her profile. The login workflow is simple using the Struts framework: Map the login screen form to a form bean, then the action bean login the