Re: Mulitiple html:link but only one action

2004-10-12 Thread Jeff Beal
So, apparently I completely misunderstood the problem. I'll go back to one of the HTML examples from one of my earlier posts: Text To get the value 'page1' from within your Action, all you need to do is 'request.getParameter("display")'. The corresponding html:link code could be text where

Re: Mulitiple html:link but only one action

2004-10-12 Thread marc
Yeah is't the Action code that I got problems with. Can't figure out have to read the html link in my action. Jeff Beal wrote: Maybe, but I'm still not sure exactly where you're having problems. Are you having problems writing the Action code to pass the request to the different pages? If so, h

Re: Mulitiple html:link but only one action

2004-10-12 Thread Jeff Beal
Maybe, but I'm still not sure exactly where you're having problems. Are you having problems writing the Action code to pass the request to the different pages? If so, have a look at DispatchAction -- it is one possible approach to this situation. If the problem is in using the Struts tags to

Re: Mulitiple html:link but only one action

2004-10-12 Thread marc
I need af jsp page with 9 links on them. 3 link need to produceed 3 different lists. 3 needs to forward to 3 different forms. The last 3 need to point to 3 other jsp page. And i would like to use the same action for all 9 of them. Got at clearer picture of what I what? Jeff Beal wrote: text gen

Re: Mulitiple html:link but only one action

2004-10-12 Thread Jeff Beal
text generates the same thing as text text generates the same thing as text text works similarly, but it loops through the map identified by the name 'map1' for the name/value pairs. It will generate something like: text Using the page attribute instead of the action attribute may be more along

Re: Mulitiple html:link but only one action

2004-10-12 Thread marc
Have read that 1000 times, don't understand it(I now that it's probely me how is a bit stupid) Can you give me a and example on have it works, and have I read the string in my action class again. Thanks Jeff Beal wrote: marc wrote: I have a jsp page with 3 html:link tags on it. I what all these

Re: Mulitiple html:link but only one action

2004-10-12 Thread Jeff Beal
marc wrote: I have a jsp page with 3 html:link tags on it. I what all these links to point to the same action, but each of them need to go to there own jsp site. So I need to set/pass on a string with each link, so that I can send the request the right place. How do I do that?? This is explaine

Mulitiple html:link but only one action

2004-10-12 Thread marc
I have a jsp page with 3 html:link tags on it. I what all these links to point to the same action, but each of them need to go to there own jsp site. So I need to set/pass on a string with each link, so that I can send the request the right place. How do I do that??