Say we have a request parameter that tracks the requested size offset of a
ResultSet (eg search engine results the next or page number links).
Before struts I used to just do a simple regex replace of this parameter in
the search string.
Obviously I don't want any url logic in the business tier.
I use a subclassed DynaActionForm, I thought I could add a method that built
the query string from the Map, based on the old Map and a new passed in
parameter name value pair. Then a method for retrieval for jstl of the
required 'get()' form
I could then use this in the jsp ${myForm.newQueryString}
Anyone know of the typical approach, I'm probably missing something simpler.
Also does anyone have a seperate tier ie: view, *viewLogic*, controller,
model.
I just hate putting all the view logic stuff in jsp.
--
Mike W
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]