Dakota Jack wrote the following on 1/25/2005 2:11 AM:
I just have a <c:out value='state.title'/> and feed the appropriate
value to the request.  State is a class as follows:

public class StateContainer
    implements Map {
  private Map map;

<snip>

The whole problem with these suggestions to use the Request for putting in a title in your Action (even if it's putting it in your State map) is that it seems a shame that your controller now has to worry about what to display. It's just one more annoyance to have to deal with. It's sort of funny also because we often work so diligently to use all tags/JSTL/EL on the page and no scriplets with the impetus for this movement often driven by the theory that web designers wouldn't have to deal with Java code (I know never works that way:). Now, though, with the 'title' problem I've brought up, a web designer has to actually dig into an Action class to make sure the correct title is being set - much more of a pain than even dealing with scriplets imo.

--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to