RE: Without ActionForm
"Miguel Juteau" <[email protected]> Fri, 27 Dec 2002 09:13:47 +0800
| Newsgroups | gmane.comp.web.mvc.devel |
|---|---|
| Message-ID | <[email protected]> |
In Struts ur tag will look like this: <html:link page="/something.do" paramName="action" paramProperty="nextOne" /> I'm sorry I don't remember the exact attribute names for the parameter, maybe it's paramId. Anyway, what u should know is this: - use 'page' attribute for a struts action. It MUST start with a slash. - use 'href' attribute for a static resource. It can be a relative URL. - the html:link tag only accepts one parameter, passed like I described above (sorry if I used wrong attribute names) - the value of the parameter must be an existing variable in any scope (I don't think u can hard code a string value) - If u want to use more than 1 parameter, u need to use a HashMap. mig -----Original Message----- From: anim-favor <[email protected]> [mailto:[email protected]] Sent: Friday, December 27, 2002 1:47 AM To: [email protected] Subject: [mvc-programmers] Without ActionForm Hi all, If i'm using <a href="something.do?action=nextOne">next</a> what should i do inside the struts-config.xml and where can i specify the variable for "action=nextOne". Thank you. Andy To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/NhFolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/