Hi,
I'd like to write a general
servlet to get the contents of forms in my application, then send those on to a bean to be added to the database. When I say general, I mean that, rather than writing a servlet specific to each
jsp I have, I'd lke to use one for all of them. As far as I can see, this would only work if there's a method in request that can loop through all the elements in a form, like the DOM would be able to. Does request have such a method?
Are there any other suggestions for pulling this off? Or should I just bite the bullet and write a servlet for each form?
Thanks,
g.