On 17.05.2007 16:02, Daniel Fagerstrom wrote:

And in the example above I would say that the "{1}.csv" input file is
from the users POV the important thing. That the transformation from the csv input file to the wanted XML format is done with a servlet service that happen to be at some particular URI instead of using some custom csv generator, that is an implementation detail.

For me it's much about the "nature". What's an optional parameter, what's not? Does it make sense to remove the parameter?

To apply it here: A service generator without a service URL is nonsense. You can have as much post data as you want. It's still nonsense. The "nature" is determined by the actual service in use and so by its URL.

But a service generator without any post data makes absolutely sense since it might really be optional to post anything. And I find it quite strange to write

<map:generate>
  <map:parameter name="service" value="servlet:test2:/extract-html"/>
</map:generate>

Joerg

Reply via email to