Ah, you're probably right, the path mappings might not need to change
very often, but on the other hand, I thought, if the html:form tag
appends the (.do) extension for you, it isn't far-fetched to think that
another tag would do the equivalent for hyperlinks.
Erik
Rick Reumann wrote:
Erik Weber wrote:
I have a feeling I am missing something here. I tried fiddling with
the action attribute to html:link, rather than the page attribute,
but that didn't seem to do it. . . . . Or am I thinking about
extension mapping the wrong way?
Why not just always use the mapping /do/* then it won't matter if you
decide later to use an extension or not. You'll still have to put the
/do/ in your links though (and not in your form defintion). I'm still
a bit confused though why would your mapping to what calls the Struts
ActionServlet need to change? If you really think it will change that
much I guess you could create your own tag to create links that would
append or prepend the appropriate mapping to the link. I've just never
really run into a case where someone has really wanted to change the
mapping prefix/suffix.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]