At 6:39 PM -0400 2002/07/03, Hal Deadman wrote: >Does using the forward attribute mean creating a global forward for every >action submitted to by a form? If so you end up with lots of global-forwards >that map directly to actions, so why not just use the action URL? > >This seems like just one more level of indirection that has to be followed >when you are trying to figure out which action class a form is submitting to >(if you are looking at the JSP, not the HTML source).
well, you wouldn't have to follow it... no one is suggesting breaking the API. Also, I think the perspective here is that by using a forward, you're essentially making a contract between the view and the controller, so that the person working on the view theoretically wouldn't need to know which action class a form submits to. They'd just have an assurance from the controller developer that there will be a forward with a given name that does the right thing when a form is submitted to it. I think Craig's point is that the path mappings also constitute an API, which is true. I just don't quite understand why it's a problem to use "forward" in html:form if it's not a problem to use it in other places in the html tag library (link, etc). Joe -- -- * Joe Germuska { [EMAIL PROTECTED] } "It's pitiful, sometimes, if they've got it bad. Their eyes get glazed, they go white, their hands tremble.... As I watch them I often feel that a dope peddler is a gentleman compared with the man who sells records." --Sam Goody, 1956 tune in posse radio: <http://www.live365.com/stations/289268> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>